欢迎来到入门教程网!

phpcms

当前位置:主页 > CMS教程 > phpcms >

phpcms2008 企业黄页模块伪静态设置规则分享

来源:本站原创|时间:2020-01-10|栏目:phpcms|点击:

httpd.ini

复制代码
代码如下:

[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
RewriteRule ^(.*)/yp/([a-z]+)-([0-9]+)\.html$ $1/yp/$2.php\?action=show&id=$3
RewriteRule ^(.*)/job-list-([0-9]+)-([0-9]+)-(.+)\.html$ $1/job.php\?action=list&inputtime=$2&station=$3&genre=$4
RewriteRule ^(.*)/product-list-([0-9]+)-([0-9]+)-([0-9]+)--(.+)--([0-1]).html$ $1/product.php\?
view_type=$2&catid=$3&pagesize=$4&areaname=$5&order=$6
RewriteRule ^(.*)/product-list-([0-9]+)-([0-9]+)-([0-9]+)--(.+)--([0-1])-([0-9]+).html$ $1/product.php\?
view_type=$2&catid=$3&pagesize=$4&areaname=$5&order=$6&page=$7
RewriteRule ^(.*)/([a-z]+)-list-([0-9]+)\.html$ $1/$2.php\?action=list&catid=$3
RewriteRule ^(.*)/show-([0-9]+)-([a-z]+)-([0-9]+)\.html$ $1/web/show.php\?userid-$2/category-$3/id-$4.html
RewriteRule ^(.*)/job-list-([0-9]+)-([0-9]+)-(.+)\.html$ $1/job.php\?action=list&inputtime=$2&station=$3&genre=$4
RewriteRule ^(.*)/([a-z]+^[id])-([0-9]+)\.html$ $1/$2.php\?action=show&id=$3
RewriteRule ^(.*)/company-list-([0-9]+)-([a-z]+)--(.+)--([0-9]+).html$ $1/company.php\?pagesize=$2&listtype=$3&areaname=$4&catid=$5
RewriteRule ^(.*)/company-list-([0-9]+)-([a-z]+)--(.+)--([0-9]+)-([0-9]+).html$ $1/company.php\?pagesize=$2&listtype=$3&areaname=$4&catid=$5&page=$6
RewriteRule ^(.*)/show-([0-9]+)-([a-z]+)-([0-9]+)\.html$ $1/web/show\.php\?userid-$2\/category-$3\/id-$4\.html
#Tag
RewriteRule ^(.*)/tag/(.+)/\?*(.*)$ $1/tag\.php\?tag=$2

上一篇:phpcms远程图片本地化不成功及加水印功能失效的解决教程

栏    目:phpcms

下一篇:phpcms添加图片文字水印效果

本文标题:phpcms2008 企业黄页模块伪静态设置规则分享

本文地址:https://www.xiuzhanwang.com/a1/phpcms/9917.html

网页制作CMS教程网络编程软件编程脚本语言数据库服务器

如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。

联系QQ:835971066 | 邮箱:835971066#qq.com(#换成@)

Copyright © 2002-2020 脚本教程网 版权所有