admin 发表于 2014-5-26 22:09:44

骑士cms人才系统的伪静态规则下载

自己在做人才网,所以顺道记录下啊。
哈哈
rewrite ^/index.html$ /index.php;
rewrite ^/jobs/jobs-show-(+).html$ /jobs/jobs-show.php?id=$1;
rewrite ^/jobs/jobs-list-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(?<n0>.*)-(?<n1>.*)-(?<n2>.*)-(?<n3>.*).html$ /jobs/jobs-list.php?category=$1&subclass=$2&district=$3&sdistrict=$4&settr=$5&trade=$6&wage=$7&nature=$8&scale=$9&inforow=$n0&sort=$n1&key=$n2&page=$n3;
rewrite ^/jobs/jobs-contrast-(.*).html$ /jobs/jobs-contrast.php?id=$1;
rewrite ^/jobs/map-search-(+).html$ /jobs/map-search.php?id=$1;
rewrite ^/jobs/jobtag-search-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*).html$ /jobs/jobtag-search.php?category=$1&subclass=$2&district=$3&sdistrict=$4&jobtag=$5&inforow=$6&page=$7;
rewrite ^/jobs/street-search-(.*)-(.*)-(.*)-(.*).html$ /jobs/street-search.php?streetid=$1&sort=$2&inforow=$3&page=$4;
rewrite ^/jobs/officebuilding-search-(.*)-(.*)-(.*)-(.*).html$ /jobs/officebuilding-search.php?officebuildingid=$1&sort=$2&inforow=$3&page=$4;
rewrite ^/company/company-list-(.*)-(.*)-(+).html$ /company/index.php?trade=$1&inforow=$2&page=$3;
rewrite ^/company/company-show-(+).html$ /company/company-show.php?id=$1;
rewrite ^/company/company-jobs-(+)-(+).html$ /company/company-jobs.php?id=$1&page=$2;
rewrite ^/company/company-comment-(+)-(+).html$ /company/company-comment.php?id=$1&page=$2;
rewrite ^/company/company-comment-show-(+).html$ /company/company-comment-show.php?id=$1;
rewrite ^/company/company-img-(+)-(+).html$ /company/company-img.php?id=$1&page=$2;
rewrite ^/company/company-news-(+)-(+).html$ /company/company-news.php?id=$1&page=$2;
rewrite ^/company/company-news-show-(+).html$ /company/company-news-show.php?id=$1;

rewrite ^/resume/resume-show-(+).html$ /resume/resume-show.php?id=$1;
rewrite ^/resume/resume-list-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(?<n0>.*)-(?<n1>.*)-(?<n2>.*)-(?<n3>.*).html$ /resume/resume-list.php?category=$1&subclass=$2&district=$3&sdistrict=$4&experience=$5&education=$6&sex=$7&photo=$8&talent=$9&inforow=$n0&sort=$n1&key=$n2&page=$n3;
rewrite ^/resume/resumetag-search-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*).html$ /resume/resume-search.php?category=$1&subclass=$2&district=$3&sdistrict=$4&resumetag=$5&inforow=$6&page=$7;

rewrite ^/news/news-list-(+)-(+).html$ /news/news-list.php?id=$1&page=$2;
rewrite ^/news/news-search-(.*)-(+).html$ /news/news-search.php?key=$1&page=$2;
rewrite ^/news/news-show-(+).html$ /news/news-show.php?id=$1;
rewrite ^/explain/explain-show-(+).html$ /explain/explain-show.php?id=$1;
rewrite ^/notice/notice-list-(+)-(+).html$ /notice/notice-list.php?id=$1&page=$2;
rewrite ^/notice/notice-show-(+).html$ /notice/notice-show.php?id=$1;
rewrite ^/hrtools/hrtools-list-(+).html$ /hrtools/hrtools-list.php?id=$1;
rewrite ^/hr/hrOutsourcing.html$ /hr/hrOutsourcing.php;
rewrite ^/jobfair/jobfair-list-(+).html$ /jobfair/jobfair-list.php?page=$1;
rewrite ^/jobfair/jobfair-show-(+).html$ /jobfair/jobfair-show.php?id=$1;
rewrite ^/jobfair/jobfair-exhibitors-(+)-(+).html$ /jobfair/jobfair-exhibitors.php?id=$1&page=$2;
rewrite ^/simple/simple-list-(.*)-(.*)-(+).html$ /simple/simple-list.php?key=$1&keytype=$2&page=$3;
rewrite ^/simple/simple-show-(+).html$ /simple/simple-show.php?id=$1;
rewrite ^/help/help-list-(+)-(+).html$ /help/help-list.php?id=$1&page=$2;
rewrite ^/help/help-search-(.*)-(+).html$ /help/help-search.php?key=$1&page=$2;
rewrite ^/help/help-show-(+).html$ /help/help-show.php?id=$1;
页: [1]
查看完整版本: 骑士cms人才系统的伪静态规则下载