chris__ Posted June 25, 2007 Share Posted June 25, 2007 Hi guys, I think I have a problem with my apache. When I access http://mysite.com/foo, I usually expect an error that foo cannot be found or something. However, instead of that, http://mysite.com/foo.php will be opened. If foo.php does not exists, this behaviour does not occur. This is breaking my applications and mod_rewrite doesn't work properly anymore. (No, this problem has nothing todo with mod_rewrite) Any ideas? BTW: I'm usign the most recent version of apache and debian. All default settings. Regards, chris Quote Link to comment Share on other sites More sharing options...
steviewdr Posted June 25, 2007 Share Posted June 25, 2007 Put the following in a htaccess file: Options -MultiViews Thats what's causing the issue. FYI - the same happens on my etch server. I had MultiViews included in my vhosts not really knowing what they referred to! Ref: http://www.gerd-riesselmann.net/archives/2005/04/beware-of-apaches-multiviews -steve Quote Link to comment Share on other sites More sharing options...
chris__ Posted June 25, 2007 Author Share Posted June 25, 2007 Very cool, that worked. Thank you. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.