|
主题:[分享]KesionCMS V7.0伪静态规则 [收藏主题] | 转到: |
静态的设置安装方法可以见之前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]
点评 共 3 条说得很好:5.0 ★★★★★ 人间无道 能来个图文会更好! 威望+1 |
|||
支持(2) | 反对(0) 顶端 底部 |
<上一主题 | 下一主题 > |