DA automatically redirecting pages for me ??

visoredge

Verified User
Joined
Jul 4, 2005
Messages
10
Hello,

When I go to a directory www.mysite.com/name/

IF I have a file name.php, then it automatically redirects to that file.

If I don't have a file "name.php" then it gets a 404 error.

WHY does it automatically go to a filename.php after trying to find a directory??
I don't want this to happen. How do I turn this off?
 
I'm not sure. Usually only index.* or defualt.* is supposed to, at least that's the default DirectAdmin has set on my servers, so check you httpd.conf file ;)
 
That's Apache 'Multiviews' in operation.

If you don't like it, disable it. (Can be done locally using .htaccess)
 
Back
Top