Forum Moderators: phranque

Message Too Old, No Replies

Site automatically redirecting directories?

         

kenfused

12:46 am on Jul 6, 2005 (gmt 0)

10+ Year Member



Hello,
I'm moving a site from Ensim to DirectAdmin

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

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

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

WHY does it automatically go to a filename.php after trying to find a directory that does not exist?

I don't want this to happen. How do I turn this off?

jdMorgan

3:15 am on Jul 6, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Ask your host if content-negotiation (MultiViews) is enabled by default. If so, ask them to turn it off. You may also be able to disable it yourself using your control panel, .htaccess file, or httpd.conf. The answer depends on what priveleges you have, and your current server confguration.

Jim