62,046
社区成员
发帖
与我相关
我的任务
分享
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Block external access to the httpd.ini and httpd.parse.errors files
RewriteRule /httpd(?:\.ini|\.parse\.errors).* / [F,I,O]
# Block external access to the Helper ISAPI Extension
RewriteRule .*\.isrwhlp / [I,R]
RewriteCond Host: www\.erxun\.net
RewriteRule (.*) $1 [L]
# 配置二级域名,如 user.erxun.net => www.erxun.net/user
RewriteCond Host: ([a-zA-Z0-9_-]+).erxun.net
RewriteRule ^/(.*) /$1/$2 [I,L]
RewriteRule ^index.htm$ $1/Default.aspx [I]
RewriteRule ^(.*)proshow_(.*).htm$ $1/proshow.aspx\?id=$2
RewriteRule ^(.*)readcase_(.*).htm$ $1/readcase.aspx\?id=$2
RewriteRule ^(.*)productList_(.*)_(.*)_(.*).htm$ $1/productList.aspx\?proclassid=$2&mclassid=$3&page=$4 [I]
RewriteRule ^(.*)productList_(.*)_(.*).htm$ $1/productList.aspx\?proclassid=$2&page=$3 [I]