波波无奇 發表於 2023-8-14 00:00:00

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&amp;id=$3 <br>
RewriteRule ^(.*)/job-list-(+)-(+)-(.+)\.html$ $1/job.php\?action=list&amp;inputtime=$2&amp;station=$3&amp;genre=$4 <br>
RewriteRule ^(.*)/product-list-(+)-(+)-(+)--(.+)--().html$ $1/product.php\? <br>
view_type=$2&amp;catid=$3&amp;pagesize=$4&amp;areaname=$5&amp;order=$6 <br>
RewriteRule ^(.*)/product-list-(+)-(+)-(+)--(.+)--()-(+).html$ $1/product.php\? <br>
view_type=$2&amp;catid=$3&amp;pagesize=$4&amp;areaname=$5&amp;order=$6&amp;page=$7 <br>
RewriteRule ^(.*)/(+)-list-(+)\.html$ $1/$2.php\?action=list&amp;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&amp;inputtime=$2&amp;station=$3&amp;genre=$4 <br>
RewriteRule ^(.*)/(+^)-(+)\.html$ $1/$2.php\?action=show&amp;id=$3 <br>
RewriteRule ^(.*)/company-list-(+)-(+)--(.+)--(+).html$ $1/company.php\?pagesize=$2&amp;listtype=$3&amp;areaname=$4&amp;catid=$5 <br>
RewriteRule ^(.*)/company-list-(+)-(+)--(.+)--(+)-(+).html$ $1/company.php\?pagesize=$2&amp;listtype=$3&amp;areaname=$4&amp;catid=$5&amp;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]
查看完整版本: phpcms2008 企业黄页模块伪静态设置规则分享