+ -
当前位置:首页 → 问答吧 → URL REwrite的问题

URL REwrite的问题

时间:2011-08-03

来源:互联网

因为全站要做301跳转.所以要把全站的链接都导到Redirect.asp上面去处理.这个伪静态地址该如何写?

RewriteRule /(.*) \/Redirect\.asp\?path=$1 [N,I] 


这样写的话,得到的结果就成了


Redirect.asp?path=Redirect.asp?path=Redirect.asp?path=Redirect.asp?path=Redirect.asp?path=Redirect.asp?path=Redirect.asp?path=Redirect.asp?path=Redirect.asp?path=Redirect.asp?path=Redirect.asp?path=Redirect.asp?path=Redirect.asp?path=Redirect.asp?path=Redirect.asp?path=Redirect.asp?path=Redirect.asp?path=Redirect.asp?path=Redirect.asp?path=Redirect.asp?path=Redirect.asp?path=Redirect.asp?path=Redirect.asp?path=Redirect.asp?path=Redirect.asp?path=Redirect.asp?path=Redirect.asp?path=Redirect.asp?path=Redirect.asp?path=Redirect.asp?path=Redirect.asp?path=fsadfa/tksc.html


好像他把redirect.asp也算进来了.

作者: ccppvv   发布时间: 2011-08-03

没有人知道么?

作者: ccppvv   发布时间: 2011-08-03