moses444
01-21-2010, 04:36 PM
i keep getting this error after i have tried to use another directory for php files as opposed to htdocs default dir.
I did try to edit httpd.conf file. below is the short version of it:
thank you for your help :)
=============================
=============================
ServerRoot "C:/Program Files/xampp/apache"
...
DocumentRoot "C:/Study/PHP"
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
...
<Directory "C:/Study/PHP">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
# "C:/Program Files/xampp/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
##the line below was <Directory "C:/Program Files/xampp/cgi-bin">
<Directory "C:/Study/PHP">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
I did try to edit httpd.conf file. below is the short version of it:
thank you for your help :)
=============================
=============================
ServerRoot "C:/Program Files/xampp/apache"
...
DocumentRoot "C:/Study/PHP"
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
...
<Directory "C:/Study/PHP">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
# "C:/Program Files/xampp/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
##the line below was <Directory "C:/Program Files/xampp/cgi-bin">
<Directory "C:/Study/PHP">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>