账号通
    

账号  

密码  

89993

查看

224

回复
主题:KesionCMS V8.0x rewrite伪静态规则 [收藏主题] 本贴被认定为精华 转到:  
科汛官方 当前离线

47268

主题

145

广播

405

粉丝
添加关注
级别:管理员

用户积分:101604 分
登录次数:7935 次
注册时间:2006/12/7
最后登录:2023/12/14
科汛官方 发表于:2011/9/1 18:14:10   | 显示全部帖子 查看该作者主题 楼主 
科汛智能建站系统

[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]











 下载信息  [文件大小:88.24 KB 下载次数: 次]
点击下载文件:Rewrite.rar


 
  支持(1) | 反对(0) 回到顶部顶端 回到底部底部
<上一主题 | 下一主题 >
Powered By KesionCMS Version X1
厦门科汛软件有限公司 © 2006-2016 页面执行0.06445秒 powered by KesionCMS 9.0