简体   繁体   中英

why apache rewrite directories that not exists to php files

I have a problem with my apache. I have test.php on domain.com website that will targeted by domain.com/test.php now when I run domain.com/test/sometext/ it must show 404 Not Found status, but it run test.php. how can I fix this?

我在这里找到了解决此问题的方法: http : //httpd.apache.org/docs/2.2/content-negotiation.html#multiviews

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM