开发者社区> 问答> 正文

我的阿里云虚拟主机不支持httpd.ini 能帮我转换一下吗Web.Config 谢谢

[ISAPI_Rewrite]

3600 = 1 hour

CacheClockRate 3600

RepeatLimit 32

RewriteRule ^(.)/(.).asp?(.*)=([0-9]+)$ $1/404.html [I]
RewriteRule ^(.)/(.).asp$ $1/404.html [I]
RewriteRule ^(.*)/index.html$ $1/index.asp [I]

RewriteRule ^(.*)/diannao([0-9]+)/ $1/diannaolist\.asp\?page=$2 [I]
RewriteRule ^(.*)/diannao/ $1/diannaolist.asp [I]
RewriteRule ^(.*)/diannaoshow([0-9]+)/ $1/diannaoshow\.asp\?id=$2 [I]
RewriteRule ^(.*)/game([0-9]+)/ $1/gamelist\.asp\?page=$2 [I]
RewriteRule ^(.*)/game/ $1/gamelist.asp [I]
RewriteRule ^(.*)/gameshow([0-9]+)/ $1/gameshow\.asp\?id=$2 [I]
RewriteRule ^(.*)/tiyu([0-9]+)/ $1/tiyulist\.asp\?page=$2 [I]
RewriteRule ^(.*)/tiyu/ $1/tiyulist.asp [I]
RewriteRule ^(.*)/tiyushow([0-9]+)/ $1/tiyushow\.asp\?id=$2 [I]
RewriteRule ^(.*)/shenghuo([0-9]+)/ $1/shenghuolist\.asp\?page=$2 [I]
RewriteRule ^(.*)/shenghuo/ $1/shenghuolist.asp [I]
RewriteRule ^(.*)/shenghuoshow([0-9]+)/ $1/shenghuoshow\.asp\?id=$2 [I]
RewriteRule ^(.*)/yule([0-9]+)/ $1/yulelist\.asp\?page=$2 [I]
RewriteRule ^(.*)/yule/ $1/yulelist.asp [I]
RewriteRule ^(.*)/yuleshow([0-9]+)/ $1/yuleshow\.asp\?id=$2 [I]
RewriteRule ^(.*)/jiankang([0-9]+)/ $1/jiankanglist\.asp\?page=$2 [I]
RewriteRule ^(.*)/jiankang/ $1/jiankanglist.asp [I]
RewriteRule ^(.*)/jiankangshow([0-9]+)/ $1/jiankangshow\.asp\?id=$2 [I]
RewriteRule ^(.*)/qinggan([0-9]+)/ $1/qingganlist\.asp\?page=$2 [I]
RewriteRule ^(.*)/qinggan/ $1/qingganlist.asp [I]
RewriteRule ^(.*)/qingganshow([0-9]+)/ $1/qingganshow\.asp\?id=$2 [I]
RewriteRule ^(.*)/yishu([0-9]+)/ $1/yishulist\.asp\?page=$2 [I]
RewriteRule ^(.*)/yishu/ $1/yishulist.asp [I]
RewriteRule ^(.*)/yishushow([0-9]+)/ $1/yishushow\.asp\?id=$2 [I]
RewriteRule ^(.*)/other([0-9]+)/ $1/otherlist\.asp\?page=$2 [I]
RewriteRule ^(.*)/other/ $1/otherlist.asp [I]
RewriteRule ^(.*)/othershow([0-9]+)/ $1/othershow\.asp\?id=$2 [I]

RewriteRule ^(.*)/diannao([0-9]+) $1/diannaolist\.asp\?page=$2 [I]
RewriteRule ^(.*)/diannao $1/diannaolist.asp [I]
RewriteRule ^(.*)/diannaoshow([0-9]+) $1/diannaoshow\.asp\?id=$2 [I]
RewriteRule ^(.*)/game([0-9]+) $1/gamelist\.asp\?page=$2 [I]
RewriteRule ^(.*)/game $1/gamelist.asp [I]
RewriteRule ^(.*)/gameshow([0-9]+) $1/gameshow\.asp\?id=$2 [I]
RewriteRule ^(.*)/tiyu([0-9]+) $1/tiyulist\.asp\?page=$2 [I]
RewriteRule ^(.*)/tiyu $1/tiyulist.asp [I]
RewriteRule ^(.*)/tiyushow([0-9]+) $1/tiyushow\.asp\?id=$2 [I]
RewriteRule ^(.*)/shenghuo([0-9]+) $1/shenghuolist\.asp\?page=$2 [I]
RewriteRule ^(.*)/shenghuo $1/shenghuolist.asp [I]
RewriteRule ^(.*)/shenghuoshow([0-9]+) $1/shenghuoshow\.asp\?id=$2 [I]
RewriteRule ^(.*)/yule([0-9]+) $1/yulelist\.asp\?page=$2 [I]
RewriteRule ^(.*)/yule $1/yulelist.asp [I]
RewriteRule ^(.*)/yuleshow([0-9]+) $1/yuleshow\.asp\?id=$2 [I]
RewriteRule ^(.*)/jiankang([0-9]+) $1/jiankanglist\.asp\?page=$2 [I]
RewriteRule ^(.*)/jiankang $1/jiankanglist.asp [I]
RewriteRule ^(.*)/jiankangshow([0-9]+) $1/jiankangshow\.asp\?id=$2 [I]
RewriteRule ^(.*)/qinggan([0-9]+) $1/qingganlist\.asp\?page=$2 [I]
RewriteRule ^(.*)/qinggan $1/qingganlist.asp [I]
RewriteRule ^(.*)/qingganshow([0-9]+) $1/qingganshow\.asp\?id=$2 [I]
RewriteRule ^(.*)/yishu([0-9]+) $1/yishulist\.asp\?page=$2 [I]
RewriteRule ^(.*)/yishu $1/yishulist.asp [I]
RewriteRule ^(.*)/yishushow([0-9]+) $1/yishushow\.asp\?id=$2 [I]
RewriteRule ^(.*)/other([0-9]+) $1/otherlist\.asp\?page=$2 [I]
RewriteRule ^(.*)/other $1/otherlist.asp [I]
RewriteRule ^(.*)/othershow([0-9]+) $1/othershow\.asp\?id=$2 [I]

RewriteRule ^(.*)/go/ $1/getinfo.asp [I]

展开
收起
爱就此生 2017-05-14 17:09:34 3559 0
1 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
阿里云云原生 Serverless 技术实践营 PPT 演讲 立即下载
阿里云产品十月刊 立即下载
基于阿里云构建博学谷平台实时湖仓 立即下载