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.
Sun Sep 5 16:00:43 2010
Apache/2.2.14 (Unix) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l PHP/5.3.1 mod_perl/2.0.4 Perl/v5.10.1
The PHP file itself is in a sub-directory of the XAMPP localhost, ie. it's not in the root folder:
The fact that it's not in the root folder is what seems to be causing the security issue.
I've been trying to fix this for the last few hours, my attempts have included:
- removing the entire "New XAMPP security concept" section from the httpd-xampp.conf file
- editing the "New XAMPP security concept" in various ways
- changing the folder permissions in my operating system (Mac OS X)
- restarting the Apache and mySQL server after every change
....and a few others that I can't remember. I must have read about 100 different links with suggested solutions, and nothing has solved the issue. Most people are suggesting that the "New XAMPP security concept" should be edited in various ways.
The "New XAMPP security concept" in the httpd-xampp.conf file is as follows:
# New XAMPP security concept
Deny from all
Allow from ::1 127.0.0.0/8 \
fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
Would be eternally grateful if anyone can help solve this problem.