开发者

Old mod_rewrite (htaccess) rule still applies

开发者 https://www.devze.com 2023-01-01 04:15 出处:网络
I had a rule in the .htaccess file in my root directory that said: RewriteRule ^(.*)$ $1.php I\'ve completely rewritten the file since then, and the rule is still being applied. I tried restarting

I had a rule in the .htaccess file in my root directory that said:

RewriteRule ^(.*)$ $1.php

I've completely rewritten the file since then, and the rule is still being applied. I tried restarting the Apache server and the physical server with no luck.

I've also scoured the directory and there are开发者_如何学编程 no other .htaccess files in there or any subdirectories.

Does anyone know what might be causing something like this to happen?


Such a behavior can be caused by MultiViews. Try to disable it:

Options -MultiViews
0

精彩评论

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

关注公众号