账号通
    

账号  

密码  

18139

查看

32

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

47268

主题

145

广播

405

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

用户积分:101604 分
登录次数:7935 次
注册时间:2006/12/7
最后登录:2023/12/14
科汛官方 发表于:2010/8/31 12:25:00   | 显示全部帖子 查看该作者主题 楼主 
科汛在线考试系统(NET)
静态的设置安装方法可以见之前6.0的教程,如下:http://www.kesion.com/tech/jc/200.html

以下是v7.0默认的伪静态规则:



[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 (/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}/show-product-((\%|\w)*)-(\d+).html /space/index\.asp\?$2\/showproduct\/$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]





 下载信息  [文件大小:0.92 KB 下载次数: 次]
点击下载文件:httpd




点评 3

说得很好:5.0     
otbbs 说得很好:5
不错,开源的就是好啊 威望+2 发表于 2010/9/13 1:52:00 
人间无道 能来个图文会更好! 威望+1 发表于 2010/9/9 23:08:00 
 
  支持(2) | 反对(0) 回到顶部顶端 回到底部底部
<上一主题 | 下一主题 >
Powered By KesionCMS Version X1
厦门科汛软件有限公司 © 2006-2016 页面执行0.09375秒 powered by KesionCMS 9.0