关于apacha的简单伪静态问题

WBOY
Release: 2016-06-23 13:32:51
Original
1070 people have browsed it

RewriteRule ^index.php\?mod=dhw&act=index$  /plugin.php[L,NC]

这个规则为什么不成功呢

RewriteRule ^index.php$  /plugin.php[L,NC]   如果这样是没问题的,正常跳转的。


回复讨论(解决方案)

需要用到 {QUERY_STRING} 来检查
参考: http://blog.csdn.net/fdipzone/article/details/8744183

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!