[table][tr][td]IIS 6 是能httpd.ini 伪静态。IIS 7 只能用web.config伪静态
以下是IIS 6 的httpd.ini 伪静态规则有谁帮我改成web.config伪静态
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
RewriteCond Host: ^711g\.com$
RewriteRule (.*) http\://www\.711g\.com$1 [I,R]
RewriteRule ^/new_([0-9]*)\.html /new\.php\?id=$1 [L]
RewriteRule ^/goad_([0-9]*)\.html /goad\.php\?id=$1 [L]
RewriteRule ^/go_([0-9]*)\.html /go\.php\?id=$1 [L]
RewriteRule ^/yxzq_([0-9]*)\.html /yxzq\.php\?id=$1 [L]
RewriteRule ^/fahao_([0-9]*)\.html /fahao\.php\?lbfl=$1 [L]
RewriteRule ^/pingtai_([0-9]*)\.html /pingtai\.php\?id=$1 [L]
RewriteRule ^/index_([0-9]*)\.html /index\.php\?time=$1 [L]
RewriteRule ^/index_([0-9]*)_([0-9]*)\.html /index\.php\?time=$1&yeshu=$2 [L]
RewriteRule ^/indexye_([0-9]*)\.html /index\.php\?yeshu=$1 [L]
RewriteRule ^/fahaoye_([0-9]*)\.html /fahao\.php\?yeshu=$1 [L]
RewriteRule ^/gamesye_([0-9]*)\.html /games\.php\?yeshu=$1 [L]
RewriteRule ^/newsye_([0-9]*)\.html /news\.php\?yeshu=$1 [L]
RewriteRule ^/paihangye_([0-9]*)\.html /paihang\.php\?yeshu=$1 [L]
RewriteRule ^/pingtaisye_([0-9]*)\.html /pingtais\.php\?yeshu=$1 [L]
RewriteRule ^/newsye_([0-9]*)_([0-9]*)\.html /news\.php\?yeshu=$1\&?newsid=$2 [L]
RewriteRule ^/fahaoye_([0-9]*)_([0-9]*)\.html /fahao\.php\?yeshu=$1\&?lbfl=$2 [L]
RewriteRule ^/sofahaoye_([0-9]*)_(.*)\.html /sofahao\.php\?yeshu=$1\&?name=$2 [N,I,L,O]
RewriteRule ^/hmlx_([0-9]*)\.html /index\.php\?hmlx=$1 [L]
RewriteRule ^/news_([0-9]*)\.html /news\.php\?newsid=$1 [L]
RewriteRule ^/fahaonei_([0-9]*)\.html /fahaonei\.php\?id=$1 [L]
RewriteRule ^/games_([0-9]*)_([0-9]*)_([0-9]*)_([0-9]*)\.html /games\.php\?hmlx=$1\&ticai=$2\&yxlx=$3\&zt=$4 [L]
RewriteRule ^/paihang_([0-9]*)_([0-9]*)_([0-9]*)_([0-9]*)\.html /paihang\.php\?hmlx=$1\&ticai=$2\&yxlx=$3\&zt=$4 [L]
RewriteRule ^/kaifu_(.*)_([0-9]*)\.html /kaifu\.php\?name=$1&yeshu=$2 [N,I,L,O]
RewriteRule ^/kaifu_(.*)\.html /kaifu\.php\?name=$1 [N,I,L,O]
RewriteRule ^/sofahao_(.*)\.html /sofahao\.php\?name=$1 [N,I,L,O]
RewriteRule ^/sonews_(.*)\.html /sonews\.php\?soname=$1 [N,I,L,O]
-------------------------
-------------------------
-------------------------
-------------------------
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。