开发者

http://example.com/foo/bar loading http://example.com/foo.php

I initially thought this was a problem with my .htaccess files, however even after disabling mod_rewrite the problem persisted. http://example.com/foo/bar is loading http://example.com/foo.php with this true for file foo being in any folder on the server. Does any开发者_如何学编程one know what is causing this behaviour and how I can stop this, as I want it to load http://example.com/foo.php?text=bar. I am running a normal LAMP setup, with Ubuntu as the OS.

Also, this happens only on the testing server, not the live VPS


This is probably due to MultiViews. You can disable it with:

Options -MultiViews
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜