由网友(挑逗我你很ok)分享简介:我有个规则:RewriteCond %{REQUEST_FILENAME}.php !abc.php RewriteRule ^(.*)$ some.php [L]什么是必要的补充条件,其中的.html文件类型也将根据该规则运行?what's necessary to add condition where ....
我有个规则:
RewriteCond %{REQUEST_FILENAME}.php !abc.php
RewriteRule ^(.*)$ some.php [L]
什么是必要的补充条件,其中的.html文件类型也将根据该规则运行?
what's necessary to add condition where .html filetype will also run under that rule?
推荐答案
这晚,所以我可能是错的,但是这应该做的伎俩:
It's late so I may be wrong, but this should do the trick:
RewriteCond %{REQUEST_FILENAME} !abc.php
RewriteCond %{REQUEST_FILENAME} ^(.*.html)$
RewriteRule ^(.*)$ some.php [L]
相关推荐
最新文章