I have just by hand installed Apache and PHP, and things are working fine aside from one factor: I can not obtain a directory listing or open any files. A small problem.
It really works fine basically change my root towards the htdocs during my Apache directory, however it will not work after i change it out towards the directory I would like.
I have PHP set up in
F:\PHP, I've Apache set up in
F:\Program Files\Apache, and my root is
F:\www (this last factor may be the problem).
Here is a snippet of my httpd.conf
<Directory "F:/www"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory>
Your directory is available with test.php inside it and that i get 403 Forbidden error after i try either.
Basically alter the line
<Directory "F:/www"> to suggest towards the htdocs directory mention above and restart Apache, it really works fine. Why does not it like F:/www?
What have I done wrong? Thanks!
Ugh. Complete newb error. I attempted to remove the question, however it will not allow me to.
I did not change
DocumentRoot within the HTTPD.CONF, I only added a
Now it really works fine.
make certain you've got no directive like
which the module mod_autodindex is loaded (http://httpd.apache.org/docs/2.0/mod/mod_autoindex.html)
This may also be because of a parent or gaurdian directory with no Indexes in Options and AllowOverride set to None, such as this:
<Directory /> Options FollowSymLinks AllowOverride None </Directory>