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 Link to comment https://forums.phpfreaks.com/topic/57058-httpmysitecomfoo-opens-httpmysitecomfoophp/ 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 Link to comment https://forums.phpfreaks.com/topic/57058-httpmysitecomfoo-opens-httpmysitecomfoophp/#findComment-281995 Share on other sites More sharing options...
chris__ Posted June 25, 2007 Author Share Posted June 25, 2007 Very cool, that worked. Thank you. Link to comment https://forums.phpfreaks.com/topic/57058-httpmysitecomfoo-opens-httpmysitecomfoophp/#findComment-282031 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.