一样的Rewrite,写在.htaccess中正常,写在http.conf中没起作用

一样的Rewrite,写在.htaccess中正常,写在http.conf中没起作用

同样的Rewrite,写在.htaccess中正常,写在http.conf中没起作用

RewriteRule (.*).htm mnks/index.php [NC,R,L]

RewriteRule (.*).php mnks/index.php?key=12345678901234567890123456789012 [NC,R,L]

写在http.conf中为:

XML code


  
<IfModule mod_Rewrite.c>
RewriteEngine On

RewriteRule (.*).htm mnks/index.php [NC,R,L]
RewriteRule (.*).php mnks/index.php?key=12345678901234567890123456789012 [NC,R,L]
</IfModule>

这怎么办呀,服务器不让用.htaccess



你确定在.htaccess中使用的时候起作用?

一样的Rewrite,写在.htaccess中正常,写在http.conf中没起作用

相关文章:

你感兴趣的文章:

标签云: