手机
当前位置:查字典教程网 >CMS教程 >phpcms >phpcms2008 企业黄页模块伪静态设置规则分享
phpcms2008 企业黄页模块伪静态设置规则分享
摘要:httpd.ini[ISAPI_Rewrite]#3600=1hourCacheClockRate3600RepeatLimit32#Pro...

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

【phpcms2008 企业黄页模块伪静态设置规则分享】相关文章:

phpcms 2008 修改编辑器工具栏问题

phpcms2008下的自定义url规则教程

PHPCMS V9评论模块伪静态与TAG模块伪静态设置

phpcms图片频道模板制作

phpcms2008 常用数组,变量整理

phpcms 读不到缓存 页面空白的解决方法

phpwind伪静态规则(IIS,Nginx,Apache)的介绍及代码

PHPCMS V9静态化HTML生成设置及URL规则优化

phpcms v9更换模板的具体操作方法

phpcms语法规则

精品推荐
分类导航