Jump to content

Recommended Posts

Posted

Website: http://spartabots.co.cc

Username: sparta

Server: 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.html

http://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?

Posted

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.

Posted

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
This topic is now closed to further replies.
×
×
  • Create New...