sparta Posted December 7, 2011 Posted December 7, 2011 Website: http://spartabots.co.ccUsername: spartaServer: Johnny Going to the home page http://spartabots.co.cc or to any other page (http://spartabots.co.cc/about.php, for example) returns a 403 error. However, I have a WordPress installation I am playing with that seems to work: http://test.spartabots.co.cc, but returns non-existent errors on nearly all of its pages.The login page for the WordPress installation returned a 403 error though. After some poking around, it seemed that files all files ending in a .php extension return a 403 error.I uploaded two identical files to test -- the only difference is their extension, but the .php one errors out.http://spartabots.co.cc/testing.htmlhttp://spartabots.co.cc/testing2.php I haven't messed around my .htaccess file or anything like that for the past month or so, so I'm a bit puzzled as to why this is suddenly happening. Just in case, my htaccess file is included here: http://pastebin.com/rUiufjCy Help?
Byron Posted December 7, 2011 Posted December 7, 2011 Remove this line here from your htaccess: Options Indexes FollowSymLinks Includes btw, it wasn't just affecting your php files, it was affecting your whole site.
sparta Posted December 8, 2011 Author Posted December 8, 2011 It turned out that somehow I had a copy of my htaccess file in my root directory. Deleting it solved the problem. Please mark this as solved.
Guest xaav Posted December 8, 2011 Posted December 8, 2011 Glad your problem got solved! Please spare a few minutes to take our brief survey: http://feedback.heliohost.org/ Your participation in this survey is greatly appreciated.
Recommended Posts