I’ve been using xampp for a long time and it’s always worked fine. I have a project I am currently working on and it was working fine just a couple of days ago. Now I am getting 403 Access forbidden page for any file that is not named index.php. Anyone have any ideas why this might be happening.
I’m on Windows XP and have Xampp Version 1.6.4 installed.
My first guess would be an issue with the .htaccess file (or httpd.conf file).
Something to keep in mind:
The way that Apache handles .htaccess rules is “cascading” meaning that it will check every .htaccess file along the path of the file you are trying to access, so if you have some rule forbidding users from viewing any non-index files at any point, it will affect all deeper directories.
Having said that, if you know the issue isn’t with the
httpd.conffile, check to see if the root of the publishing path has a.htaccessfile. Change it to.htaccessoldand see if you can access any files in the htdocs directory other than index.Two questions:
index.phptotempindex.phpand create a new blah file calledindex.htmlcan you see that?Good luck. Keep me posted.