您好,欢迎访问一九零五行业门户网

伪静态规则,互相影响了,肿么办啊

rewriterule ^/member/(.*)/(.*)/(.*)/(.*)\.html$ /member/$1\.php?$2=$3&page=$4 [nc,l]
rewriterule ^/match/$ /member/match\.php [nc,l]
rewriterule ^/love-store/$ /news/love\.store\.php [nc,l]
rewriterule ^/love-store/(.*)\.html$ /news/love\.store\.php?page=$1 [nc,l]
rewriterule ^/(.*)/$ /index.php?city=$1 [nc,l]
rewriterule ^/member/$ /member/index\.php [nc,l]
rewriterule ^/consum/(.*)$ /member/consum\.php?backurl=$1 [nc,l]
rewriterule ^/login/(.*)$ /member/login\.php?backurl=$1 [nc,l]
rewriterule ^/register/(.*)$ /member/register\.php?backurl=$1 [nc,l]
rewriterule ^/member/meshis/(.*)\.html$ /member/meshis\.php?id=$1 [nc,l]
rewriterule ^/member/(.*)/$ /member/$1\.php [nc,l]
rewriterule ^/member/(.*)/(.*)/(.*)\.html$ /member/$1\.php?$2=$3 [nc,l]
rewriterule ^/display/(.*)\.html$ /member/display\.php?mid=$1 [nc,l]
rewriterule ^/member/(.*)/(.*)\.html$ /member/$1\.php?page=$2 [nc,l]
rewriterule ^/vip/$ /member/vip\.php [nc,l]
rewriterule ^/search/$ /member/search\.php [nc,l]
rewriterule ^/news/show/(.*)\.html$ /news/show\.php?id=$1 [nc,l]
rewriterule ^/(.*)/$ /news/$1\.php [nc,l]
rewriterule ^/about/(.*)\.html$ /news/about\.php?id=$1 [nc,l]
rewriterule ^/(.*)/(.*)\.html$ /news/$1\.php?page=$2 [nc,l]
我为了做个分站的伪静态加入了红色部分的规则,导致下面的全部没用了,该怎么办啊,求大神指点指点,优化下
member news文件夹是真实存在的
回复讨论(解决方案) 把红色部分的规则放到最低下啊。
把红色部分的规则放到最低下啊。
放到最底下测试,无效... rewriterule ^/(.*)/$ /index.php?city=$1 [nc,l]
放到最下边
我放到底部试了,404错误..
我的这个是iis下的伪静态,不是apache的..
不管是哪里的,原则是不会变的
范围小的在前,范围大的在后
不管是哪里的,原则是不会变的
范围小的在前,范围大的在后
那肿么会无效啊..
其它类似信息

推荐信息