[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
#模型通用
RewriteRule /thread\-(\d+)\-(\d+)\.html /item/show\.asp\?d=$1&m=$2 [N,I]
RewriteRule /thread\-(\d+)\-(\d+)\-(\d+)\.html /item/show\.asp\?d=$1&m=$2&p=$3 [N,I]
RewriteRule /thread\-(\d+)\-(\d+)\-(\d+)\-(\d+)\.html /item/show\.asp\?d=$1&m=$2&p=$3&pt=$4 [N,I]
RewriteRule /list\-(\d+)\.html /item/list\.asp\?id=$1 [N,I]
RewriteRule /list\-(\d+)\-(\d+)\.html /item/list\.asp\?id=$1&page=$2 [N,I]
#小论坛
RewriteRule /forumthread\-(\d+)\.html /club/display\.asp\?id=$1 [N,I]
RewriteRule /forumthread\-(\d+)\-(\d+)\.html /club/display\.asp\?id=$1&page=$2 [N,I]
RewriteRule /forum\-(\d+)\.html /club/index\.asp\?boardid=$1 [N,I]
RewriteRule /forum\-(\d+)\-(\d+)\.html /club/index\.asp\?boardid=$1&page=$2 [N,I]
#求职系统
RewriteRule /companyshow\-(\d+)\.html /job/company_show\.asp\?id=$1 [N,I]
RewriteRule /jobread\-(\d+)\.html /job/job_read\.asp\?id=$1 [N,I]
RewriteRule /jianli\-(\d+)\.html /job/jianli/index\.asp\?$1 [N,I]
#问答系统
RewriteRule /ask/list-(\d+)\.html /ask/showlist\.asp\?id=$1 [N,I]
RewriteRule /ask/list-(\d+)-(\d+)-(\d+)\.html /ask/showlist\.asp\?id=$1&page=$2&m=$3 [N,I]
RewriteRule /ask/show-(\d+)\.html /ask/q\.asp\?id=$1 [N,I]
RewriteRule /ask/show-(\d+)-(\d+)\.html /ask/q\.asp\?id=$1&page=$2 [N,I]
#团购
RewriteRule /groupbuy(/){0,1} /shop/groupbuy.asp
RewriteRule /groupbuy/history(/){0,1} /shop/groupbuy.asp\?flag=history
RewriteRule /groupbuy/history\.html\?c=(\d+) /shop/groupbuy.asp\?flag=history&categoryid=$1 [N,I]
RewriteRule /groupbuy/history\.html\?p=(\d+) /shop/groupbuy.asp\?flag=history&p=$1 [N,I]
RewriteRule /groupbuy/history\.html\?p=(\d+)&c=(\d+) /shop/groupbuy.asp\?flag=history&p=$1&categoryid=$2 [N,I]
RewriteRule /groupbuy/history\.html\?page=(\d+)&flag=history&categoryid=(\d+) /shop/groupbuy.asp\?flag=history&page=$1&categoryid=$2 [N,I]
RewriteRule /groupbuy/history\.html\?page=(\d+)&flag=history&p=(\d+) /shop/groupbuy.asp\?flag=history&page=$1&p=$2 [N,I]
RewriteRule /groupbuy/history\.html\?page=(\d+)&flag=history&p=(\d+)&categoryid=(\d+) /shop/groupbuy.asp\?flag=history&page=$1&p=$2&categoryid=$3 [N,I]
RewriteRule /groupbuy/history(/){0,1}\?page=(\d+)&flag=history /shop/groupbuy.asp\?flag=history&page=$2 [N,I]
RewriteRule /groupbuy/show-(\d+)\.html /shop/groupbuyshow\.asp\?id=$1 [N,I]
RewriteRule /groupbuy/cart\.html /shop/groupbuycart\.asp
RewriteRule /groupbuy/cart-(\d+)\.html /shop/groupbuycart\.asp\?id=$1 [N,I]
#空间门户
#博客列表
RewriteRule (/space){0,1}/blog-((\%|\w)*) /space/index\.asp\?$2\/blog [N,I]
#新鲜事
RewriteRule (/space){0,1}/fresh-((\%|\w)*) /space/index\.asp\?$2\/fresh [N,I]
#论坛话题
RewriteRule (/space){0,1}/club-((\%|\w)*) /space/index\.asp\?$2\/club [N,I]
#日志内容页
RewriteRule (/space){0,1}/list-((\%|\w)*)-(\d+).html /space/index\.asp\?$2\/log\/$4 [N,I]
#相册列表
RewriteRule (/space){0,1}/album-((\%|\w)*) /space/index\.asp\?$2\/album [N,I]
RewriteRule (/space){0,1}/showalbum-((\%|\w)*)-(\d+) /space/index\.asp\?$2\/showalbum\/$4 [N,I]
RewriteRule (/space){0,1}/showalbum-((\%|\w)*)-(\d+)-(\d+) /space/index\.asp\?$2\/showalbum\/$4\/$5 [N,I]
#圈子列表
RewriteRule (/space){0,1}/group-((\%|\w)*) /space/index\.asp\?$2\/group [N,I]
#好友列表
RewriteRule (/space){0,1}/friend-((\%|\w)*) /space/index\.asp\?$2\/friend [N,I]
#文集列表
RewriteRule (/space){0,1}/xx-((\%|\w)*) /space/index\.asp\?$2\/xx [N,I]
#小档案
RewriteRule (/space){0,1}/info-((\%|\w)*) /space/index\.asp\?$2\/info [N,I]
#留言页
RewriteRule (/space){0,1}/message-((\%|\w)*) /space/index\.asp\?$2\/message [N,I]
#公司介绍
RewriteRule (/space){0,1}/intro-((\%|\w)*) /space/index\.asp\?$2\/intro [N,I]
#企业新闻列表页
RewriteRule (/space){0,1}/news-((\%|\w)*) /space/index\.asp\?$2\/news [N,I]
#企业新闻内容页
RewriteRule (/space){0,1}/show-news-((\%|\w)*)-(\d+).html /space/index\.asp\?$2\/shownews\/$4 [N,I]
#产品列表页
RewriteRule (/space){0,1}/product-((\%|\w)*) /space/index\.asp\?$2\/product [N,I]
RewriteRule (/space){0,1}/product-((\%|\w)*)-(\d+).html /space/index\.asp\?$2\/product\/$4 [N,I]
#产品内容页
RewriteRule (/space){0,1}/show-product-((\%|\w)*)-(\d+).html /space/index\.asp\?$2\/showproduct\/$4 [N,I]
#图片作品页
RewriteRule (/space){0,1}/show-photo-((\%|\w)*)-(\d+).html /space/index\.asp\?$2\/showphoto\/$4 [N,I]
#企业招聘页
RewriteRule (/space){0,1}/job-((\%|\w)*) /space/index\.asp\?$2\/job [N,I]
#荣誉证书列表页
RewriteRule (/space){0,1}/ryzs-((\%|\w)*) /space/index\.asp\?$2\/ryzs [N,I]
#空间首页
RewriteRule (/space){0,1}/friend /space/friend/index.asp [N,I]
RewriteRule /space/((\%|\w)*) /space/index\.asp\?$1 [N,I]