phpcms2008 企业黄页模块伪静态设置
2011-08-08 15:06
246 查看
官方给出的伪静态规则 试了一遍不行,下面我给出解决方案,希望能帮助到你们:
httpd.ini
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 企业黄页模块伪静态设置规则分享
- phpcms2008企业黄页模块参数未过滤致SQL注射漏洞
- phpcms v9 企业黄页模块注册企业时的主营行业无法选择的解决办法
- HTTP核心模块配置静态web服务器 5-MIME类型的设置
- phpcms v9 企业黄页模块注册企业时的主营行业无法选择的解决办法
- phpcmsv9安装企业黄页模块后,后台注册企业会员错误?
- 设置phpcms v9黄页模块作为首页方法
- PHPCMS V9评论模块伪静态与TAG模块伪静态设置
- DedeCMS问答模块rewrite伪静态设置教程
- HTTP核心模块配置静态web服务器 4-网络连接的设置
- 静态网站公用的部分模块的引用(设置)方法
- cactiEZ 添加PHP扩展模块mssql及相关设置问题整理
- 网络连接方式为NAT,系统无法上网或IP设置成静态后无法上网
- [转]SAP FI/CO 模块设置
- Ubuntu 10.04 LTS 静态IP设置
- 织梦Dedecms设置伪静态详细方法
- 1 weekend110的Linux带图形系统安装 + 网络配置 + 静态IP设置
- elk模块x-pack简单替代,按照索引设置不同用户(nginx权限控制)
- 详解Centos 7 学习之静态IP设置