+ -
当前位置:首页 → 问答吧 → 各位大侠帮我看下这个asp的伪静态那里错了,谢谢

各位大侠帮我看下这个asp的伪静态那里错了,谢谢

时间:2011-11-19

来源:互联网

分别写下面url的伪静态:
http://www.51ddb.com/index.asp
http://www.51ddb.com/gy.asp
http://www.51ddb.com/oem.asp
http://www.51ddb.com/cp.asp
http://www.51ddb.com/new.asp?lei=5
http://www.51ddb.com/new1.asp?lei=7&id=83


这是我写的伪静态规则:
[ISAPI_Rewrite]
CacheClockRate 3600
RepeatLimit 32 

RewriteRule /index.html /index\.asp
RewriteRule /gy.html /gy\.asp
RewriteRule /oem.html /oem\.asp
RewriteRule /cp.html /cp\.asp
RewriteRule /new-([0-9]+).html /new\.asp\?lei=$1
RewriteRule /new1-([0-9,a-z]+)-([0-9]+).html /new1\.asp\?lei=$1&id=$2

请大侠帮我看下那里错了,空间已经开了支持伪静态的服务,谢谢大家了

作者: win741852963   发布时间: 2011-11-19

参考:http://apps.hi.baidu.com/share/detail/21369735

作者: hefeng_aspnet   发布时间: 2011-11-21

看的不是很懂呀

作者: win741852963   发布时间: 2011-11-21

改成这样看看效果,能行不?
RewriteRule /index\.html /index\.asp

作者: mingtian1107   发布时间: 2011-11-21