开发者

Apache finds non-existent files

开发者 https://www.devze.com 2023-01-03 18:53 出处:网络
My web server has a peculiar behavior: Let\'s say my website URL is http://my-domain.com, and I have开发者_运维问答 an accessible file http://my-domain.com/blah.jpg in it.

My web server has a peculiar behavior:

Let's say my website URL is http://my-domain.com, and I have开发者_运维问答 an accessible file http://my-domain.com/blah.jpg in it. For some reason I'm able to access the file using http://my-domain.com/blah.

It happens with any type of file.

Do you have any idea how do I fix this?


Ths sounds like automatic content negotiation that apache supports with mod_negotiation, documented at http://httpd.apache.org/docs/2.0/content-negotiation.html. Please see the section labeled "Multiviews".


Seems like the reverse of this guy's problem:

http://www.webhostingtalk.com/archive/index.php/t-317269.html

If you give us a little more info on your Apache config, it might help...are you running any mods? using mod_rewrite anywhere? using a .htaccess file?

0

精彩评论

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

关注公众号