View Single Post
  #2   (View Single Post)  
Old 5th June 2011
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,128
Default

  • Is Apache running?
    Code:
    netstat -an -f inet
    Active Internet connections (including servers)
    Proto   Recv-Q Send-Q  Local Address          Foreign Address        (state)
    tcp          0      0  192.168.222.20.7582    80.255.10.121.80       TIME_WAIT
    tcp          0      0  127.0.0.1.80           127.0.0.1.13804        TIME_WAIT
    tcp          0      0  *.80                   *.*                    LISTEN
    tcp          0      0  *.6000                 *.*                    LISTEN
    tcp          0      0  *.3306                 *.*                    LISTEN
    tcp          0      0  127.0.0.1.587          *.*                    LISTEN
    tcp          0      0  127.0.0.1.25           *.*                    LISTEN
    tcp          0      0  *.515                  *.*                    LISTEN
    tcp          0      0  192.168.222.20.22      *.*                    LISTEN
  • Did you place the php file in the DocumentRoot?
    Code:
    $ grep -C2 DocumentRoot /var/www/conf/httpd.conf
    #
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    #
    # DocumentRoot "/var/www/htdocs"
    DocumentRoot "/var/www/test"
    Be aware of the fact that on OpenBSD the Apache in base runs chrooted. Please read http://openbsd.org/faq/faq10.html#httpdchroot

BTW If you say it is not working, we believe you. We don't need to see some video for that
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote