同样的Rewrite,写在.htaccess中正常,写在http.conf中没起作用
RewriteRule (.*).htm mnks/index.php [NC,R,L]
RewriteRule (.*).php mnks/index.php?key=12345678901234567890123456789012 [NC,R,L]
写在http.conf中为:
<IfModule mod_Rewrite.c>RewriteEngine OnRewriteRule (.*).htm mnks/index.php [NC,R,L]RewriteRule (.*).php mnks/index.php?key=12345678901234567890123456789012 [NC,R,L]</IfModule>