云立方网为您收集整理了骑士人才CMS系统伪静态规则如下:
WINDOWS主机伪静态规则
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
RewriteRule ^(.*)/index\.htm$ $1/index\.php
RewriteRule ^(.*)/jobs/jobs-show-([0-9]+)\.htm$ $1/jobs/jobs-show\.php\?id=$2
RewriteRule ^(.*)/jobs/jobs-list-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)\.htm$ $1/jobs/jobs-list\.php\?category=$2&subclass=$3&district=$4&sdistrict=$5&settr=$6&trade=$7&wage=$8&nature=$9&scale=$10&inforow=$11&sort=$12&key=$13&page=$14
RewriteRule ^(.*)/jobs/jobs-contrast-(.*)\.htm$ $1/jobs/jobs-contrast\.php\?id=$2
RewriteRule ^(.*)/jobs/map-search-([0-9]+)\.htm$ $1/jobs/map-search\.php\?id=$2
RewriteRule ^(.*)/jobs/jobtag-search-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*).htm$ $1/jobs/jobtag-search\.php\?category=$2&subclass=$3&district=$4&sdistrict=$5&jobtag=$6&inforow=$7&page=$8
RewriteRule ^(.*)/jobs/street-search-(.*)-(.*)-(.*)-(.*).htm$ $1/jobs/street-search\.php\?streetid=$2&sort=$3&inforow=$4&page=$5
RewriteRule ^(.*)/jobs/officebuilding-search-(.*)-(.*)-(.*)-(.*).htm$ $1/jobs/officebuilding-search\.php\?officebuildingid=$2&sort=$3&inforow=$4&page=$5
RewriteRule ^(.*)/company/company-list-(.*)-(.*)-([0-9]+)\.htm$ $1/company/index\.php\?trade=$2&inforow=$3&page=$4
RewriteRule ^(.*)/company/company-show-([0-9]+)\.htm$ $1/company/company-show\.php\?id=$2
RewriteRule ^(.*)/company/company-jobs-([0-9]+)-([0-9]+)\.htm$ $1/company/company-jobs\.php\?id=$2&page=$3
RewriteRule ^(.*)/company/company-comment-([0-9]+)-([0-9]+)\.htm$ $1/company/company-comment\.php\?id=$2&page=$3
RewriteRule ^(.*)/company/company-comment-show-([0-9]+)\.htm$ $1/company/company-comment-show\.php\?id=$2
RewriteRule ^(.*)/company/company-img-([0-9]+)-([0-9]+)\.htm$ $1/company/company-img\.php\?id=$2&page=$3
RewriteRule ^(.*)/company/company-news-([0-9]+)-([0-9]+)\.htm$ $1/company/company-news\.php\?id=$2&page=$3
RewriteRule ^(.*)/company/company-news-show-([0-9]+)\.htm$ $1/company/company-news-show\.php\?id=$2
RewriteRule ^(.*)/resume/resume-show-([0-9]+)\.htm$ $1/resume/resume-show\.php\?id=$2
RewriteRule ^(.*)/resume/resume-list-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)\.htm$ $1/resume/resume-list\.php\?category=$2&subclass=$3&district=$4&sdistrict=$5&experience=$6&education=$7&sex=$8&photo=$9&talent=$10&inforow=$11&sort=$12&key=$13&page=$14
RewriteRule ^(.*)/resume/resumetag-search-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*).htm$ $1/resume/resume-search\.php\?category=$2&subclass=$3&district=$4&sdistrict=$5&resumetag=$6&inforow=$7&page=$8
RewriteRule ^(.*)/news/news-list-([0-9]+)-([0-9]+)\.htm$ $1/news/news-list\.php\?id=$2&page=$3
RewriteRule ^(.*)/news/news-search-(.*)-([0-9]+)\.htm$ $1/news/news-search\.php\?key=$2&page=$3
RewriteRule ^(.*)/news/news-show-([0-9]+)\.htm$ $1/news/news-show\.php\?id=$2
RewriteRule ^(.*)/explain/explain-show-([0-9]+)\.htm$ $1/explain/explain-show\.php\?id=$2
RewriteRule ^(.*)/notice/notice-list-([0-9]+)-([0-9]+)\.htm$ $1/notice/notice-list\.php\?id=$2&page=$3
RewriteRule ^(.*)/notice/notice-show-([0-9]+)\.htm$ $1/notice/notice-show\.php\?id=$2
RewriteRule ^(.*)/hrtools/hrtools-list-([0-9]+)\.htm$ $1/hrtools/hrtools-list\.php\?id=$2
RewriteRule ^(.*)/jobfair/jobfair-list-([0-9]+)\.htm$ $1/jobfair/jobfair-list\.php\?page=$2
RewriteRule ^(.*)/jobfair/jobfair-show-([0-9]+)\.htm$ $1/jobfair/jobfair-show\.php\?id=$2
RewriteRule ^(.*)/jobfair/jobfair-exhibitors-([0-9]+)-([0-9]+)\.htm$ $1/jobfair/jobfair-exhibitors\.php\?id=$2&page=$3
RewriteRule ^(.*)/simple/simple-list-(.*)-(.*)-([0-9]+)\.htm$ $1/simple/simple-list\.php\?key=$2&keytype=$3&page=$4
RewriteRule ^(.*)/simple/simple-show-([0-9]+)\.htm$ $1/simple/simple-show\.php\?id=$2
RewriteRule ^(.*)/help/help-list-([0-9]+)-([0-9]+)\.htm$ $1/help/help-list\.php\?id=$2&page=$3
RewriteRule ^(.*)/help/help-search-(.*)-([0-9]+)\.htm$ $1/help/help-search\.php\?key=$2&page=$3
RewriteRule ^(.*)/help/help-show-([0-9]+)\.htm$ $1/help/help-show\.php\?id=$2
把上面的规则代码复制保存到一个文本文件里面,文件设置成ini格式的。
WINDOWS主机,请将httpd.ini文件复制到网站根目录
UNIX、LINUX主机伪静态规则
RewriteEngine On
RewriteBase /
# Rewrite规则
RewriteRule ^index\.htm$ index\.php
RewriteRule ^jobs/jobs-show-([0-9]+)\.htm$ jobs/jobs-show\.php\?id=$1
RewriteRule ^jobs/jobs-list-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)\.htm$ jobs/jobs-list\.php\?category=$1&subclass=$2&district=$3&sdistrict=$4&settr=$5&trade=$6&wage=$7&nature=$8&scale=$9&inforow=$10&sort=$11&key=$12&page=$13
RewriteRule ^jobs/jobs-contrast-(.*)\.htm$ jobs/jobs-contrast\.php\?id=$1
RewriteRule ^jobs/map-search-([0-9]+)\.htm$ jobs/map-search\.php\?id=$1
RewriteRule ^jobs/jobtag-search-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*).htm$ jobs/jobtag-search\.php\?category=$1&subclass=$2&district=$3&sdistrict=$4&jobtag=$5&inforow=$6&page=$7
RewriteRule ^jobs/street-search-(.*)-(.*)-(.*)-(.*).htm$ jobs/street-search\.php\?streetid=$1&sort=$2&inforow=$3&page=$4
RewriteRule ^jobs/officebuilding-search-(.*)-(.*)-(.*)-(.*).htm$ jobs/officebuilding-search\.php\?officebuildingid=$1&sort=$2&inforow=$3&page=$4
RewriteRule ^company/company-list-(.*)-(.*)-([0-9]+)\.htm$ company/index\.php\?trade=$1&inforow=$2&page=$3
RewriteRule ^company/company-show-([0-9]+)\.htm$ company/company-show\.php\?id=$1
RewriteRule ^company/company-jobs-([0-9]+)-([0-9]+)\.htm$ company/company-jobs\.php\?id=$1&page=$2
RewriteRule ^company/company-comment-([0-9]+)-([0-9]+)\.htm$ company/company-comment\.php\?id=$1&page=$2
RewriteRule ^company/company-comment-show-([0-9]+)\.htm$ company/company-comment-show\.php\?id=$1
RewriteRule ^company/company-img-([0-9]+)-([0-9]+)\.htm$ company/company-img\.php\?id=$1&page=$2
RewriteRule ^company/company-news-([0-9]+)-([0-9]+)\.htm$ company/company-news\.php\?id=$1&page=$2
RewriteRule ^company/company-news-show-([0-9]+)\.htm$ company/company-news-show\.php\?id=$1
RewriteRule ^resume/resume-show-([0-9]+)\.htm$ resume/resume-show\.php\?id=$1
RewriteRule ^resume/resume-list-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)\.htm$ resume/resume-list\.php\?category=$1&subclass=$2&district=$3&sdistrict=$4&experience=$5&education=$6&sex=$7&photo=$8&talent=$9&inforow=$10&sort=$11&key=$12&page=$13
RewriteRule ^resume/resumetag-search-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*).htm$ resume/resume-search\.php\?category=$1&subclass=$2&district=$3&sdistrict=$4&resumetag=$5&inforow=$6&page=$7
RewriteRule ^news/news-list-([0-9]+)-([0-9]+)\.htm$ news/news-list\.php\?id=$1&page=$2
RewriteRule ^news/news-search-(.*)-([0-9]+)\.htm$ news/news-search\.php\?key=$1&page=$2
RewriteRule ^news/news-show-([0-9]+)\.htm$ news/news-show\.php\?id=$1
RewriteRule ^explain/explain-show-([0-9]+)\.htm$ explain/explain-show\.php\?id=$1
RewriteRule ^notice/notice-list-([0-9]+)-([0-9]+)\.htm$ notice/notice-list\.php\?id=$1&page=$2
RewriteRule ^notice/notice-show-([0-9]+)\.htm$ notice/notice-show\.php\?id=$1
RewriteRule ^hrtools/hrtools-list-([0-9]+)\.htm$ hrtools/hrtools-list\.php\?id=$1
RewriteRule ^jobfair/jobfair-list-([0-9]+)\.htm$ jobfair/jobfair-list\.php\?page=$1
RewriteRule ^jobfair/jobfair-show-([0-9]+)\.htm$ jobfair/jobfair-show\.php\?id=$1
RewriteRule ^jobfair/jobfair-exhibitors-([0-9]+)-([0-9]+)\.htm$ jobfair/jobfair-exhibitors\.php\?id=$1&page=$2
RewriteRule ^simple/simple-list-(.*)-(.*)-([0-9]+)\.htm$ simple/simple-list\.php\?key=$1&keytype=$2&page=$3
RewriteRule ^simple/simple-show-([0-9]+)\.htm$ simple/simple-show\.php\?id=$1
RewriteRule ^help/help-list-([0-9]+)-([0-9]+)\.htm$ help/help-list\.php\?id=$1&page=$2
RewriteRule ^help/help-search-(.*)-([0-9]+)\.htm$ help/help-search\.php\?key=$1&page=$2
RewriteRule ^help/help-show-([0-9]+)\.htm$ help/help-show\.php\?id=$1
把上面的规则代码放在一个文本文件里面,把文件另存为.htaccess格式的。
UNIX、LINUX主机,请将.htaccess文件复制到网站根目录
.htaccess文如何设置RewriteBase ?
为了解析正确,请将.htaccess文件里面的RewriteBase 设置为你的程序目录。例如,官方的首页访问路径为http://www.74cms.com/demo,我们则设置RewriteBase /demo;如果就是安装在根目录下,则无需修改。
如果对规则由什么疑问,可以联系骑士cms人才系统官方:
官方网站:http://www.74cms.com/
官方论坛:htpp://www.74cms.com/bbs
云立方网:http://www.yunlifang.cn
云立方网产品导航: 动态拨号vps 服务器租用 拨号服务器 |