phpcms2008 企业黄页模块伪静态设置规则分享
<p><span>httpd.ini </span></p>
<div>
<p>
<span><u>复制代码</u></span></p>
<p>
代码如下:</p>
</div>
<p>
<br>
<br>
# 3600 = 1 hour <br>
CacheClockRate 3600 <br>
RepeatLimit 32 <br>
# Protect httpd.ini and httpd.parse.errors files <br>
# from accessing through HTTP <br>
RewriteRule ^(.*)/yp/(+)-(+)\.html$ $1/yp/$2.php\?action=show&id=$3 <br>
RewriteRule ^(.*)/job-list-(+)-(+)-(.+)\.html$ $1/job.php\?action=list&inputtime=$2&station=$3&genre=$4 <br>
RewriteRule ^(.*)/product-list-(+)-(+)-(+)--(.+)--().html$ $1/product.php\? <br>
view_type=$2&catid=$3&pagesize=$4&areaname=$5&order=$6 <br>
RewriteRule ^(.*)/product-list-(+)-(+)-(+)--(.+)--()-(+).html$ $1/product.php\? <br>
view_type=$2&catid=$3&pagesize=$4&areaname=$5&order=$6&page=$7 <br>
RewriteRule ^(.*)/(+)-list-(+)\.html$ $1/$2.php\?action=list&catid=$3 <br>
RewriteRule ^(.*)/show-(+)-(+)-(+)\.html$ $1/web/show.php\?userid-$2/category-$3/id-$4.html <br>
RewriteRule ^(.*)/job-list-(+)-(+)-(.+)\.html$ $1/job.php\?action=list&inputtime=$2&station=$3&genre=$4 <br>
RewriteRule ^(.*)/(+^)-(+)\.html$ $1/$2.php\?action=show&id=$3 <br>
RewriteRule ^(.*)/company-list-(+)-(+)--(.+)--(+).html$ $1/company.php\?pagesize=$2&listtype=$3&areaname=$4&catid=$5 <br>
RewriteRule ^(.*)/company-list-(+)-(+)--(.+)--(+)-(+).html$ $1/company.php\?pagesize=$2&listtype=$3&areaname=$4&catid=$5&page=$6 <br>
RewriteRule ^(.*)/show-(+)-(+)-(+)\.html$ $1/web/show\.php\?userid-$2\/category-$3\/id-$4\.html <br>
#Tag <br>
RewriteRule ^(.*)/tag/(.+)/\?*(.*)$ $1/tag\.php\?tag=$2 </p>
頁:
[1]