在本机上测试全部通过
RewriteRule /index.html /index.asp
#说明 http://localhost/index.html 指向 http://localhost/index.html
RewriteRule /test/re/(.*).html /test/re.asp/?id=$1
# http://localhost/test/re/111.html 指向 http://localhost/test/re.asp?id=111
RewriteRule /test/re_(.*).html /test/re.asp/?id=$1
# http://localhost/test/re_111.html 指向 http://localhost/test/re.asp?id=111
RewriteRule /test/re.(html|php|jpg)/?id=(.*)/&sid=(.*)$ /test/re.asp/?id=$2&sid=$3
# http://localhost/test/re.php?id=asddlk&sid=test 指向 http://localhost/test/re.asp?id=asddlk&sid=test
RewriteRule /cxnews_(.*)_(.*).html$ /new_Last.asp/?id=$1&Page=$2 [I]
RewriteRule /cxnews_(.*).html$ /new_Last.asp/?id=$1 [I]
# 这两个的顺序反了,也识别不出来
RewriteRule /cxnews_(.*).html/?id=(.*)&page=(.*)$ /new_Last.asp/?id=$2&Page=$3 [I]
RewriteRule /index.html /index.asp
#说明 http://localhost/index.html 指向 http://localhost/index.html
RewriteRule /test/re/(.*).html /test/re.asp/?id=$1
# http://localhost/test/re/111.html 指向 http://localhost/test/re.asp?id=111
RewriteRule /test/re_(.*).html /test/re.asp/?id=$1
# http://localhost/test/re_111.html 指向 http://localhost/test/re.asp?id=111
RewriteRule /test/re.(html|php|jpg)/?id=(.*)/&sid=(.*)$ /test/re.asp/?id=$2&sid=$3
# http://localhost/test/re.php?id=asddlk&sid=test 指向 http://localhost/test/re.asp?id=asddlk&sid=test
RewriteRule /cxnews_(.*)_(.*).html$ /new_Last.asp/?id=$1&Page=$2 [I]
RewriteRule /cxnews_(.*).html$ /new_Last.asp/?id=$1 [I]
# 这两个的顺序反了,也识别不出来
RewriteRule /cxnews_(.*).html/?id=(.*)&page=(.*)$ /new_Last.asp/?id=$2&Page=$3 [I]