开发者

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

开发者 https://www.devze.com 2023-01-18 04:32 出处:网络
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 th

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

精彩评论

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