I have just installed XAMPP 1.7.0 on a Vista Ultimate machine to c:\xampp, along with the Perl addon. Upon trying to access the Security page, I receive the following error:
Access forbidden!
You don't have permission to access the requested object. It is either read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster.
I have had a look at the error log, which has the following related entry in it:
[Sun Mar 01 16:06:32 2009] [error] [client 127.0.0.1] client denied by server configuration: C:/xampp/security/htdocs/lang.php, referer: http://localhost/xampp/navi.php
I tried changing httpd-xampp.conf, so that all "Allow from localhost" entries are now "Allow from 127.0.0.1". I cleared my cache and cookies, etc, loaded up the XAMPP start page from 127 instead of localhost, went to the Security page - but still received the same error above. The new error in the error log file is:
[Sun Mar 01 16:10:00 2009] [error] [client 127.0.0.1] client denied by server configuration: C:/xampp/security/htdocs/lang.php, referer: http://127.0.0.1/xampp/navi.php
I then tried allowing both 127.0.0.1 and localhost for the security page, but I still get the same result. I have done some searching around on the forum here, but everything seems to point to the topic at viewtopic.php?p=136165#p136165 - however, that doesn't seem to be working for me. Note that I am able to access the various demos, such as the CD library, etc.
Currently, my httpd-xampp.conf file looks like this (security section included only!):
- Code: Select all
Alias /security "C:/xampp/security/htdocs/"
<Directory "C:/xampp/security/htdocs">
<IfModule php5_module>
<Files "xamppsecurity.php">
php_admin_flag safe_mode off
</Files>
</IfModule>
Order deny,allow
Deny from all
Allow from 127.0.0.1
Allow from localhost
</Directory>
Any ideas? Thanks for your help!