Pseudo-static settings of phpcms2008 enterprise yellow pages module_PHP tutorial

WBOY
Release: 2016-07-13 17:44:51
Original
761 people have browsed it

The official pseudo-static rules failed to work after trying it. I will give you the solution below, I hope it can help you:

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

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/478710.htmlTechArticleI tried the official pseudo-static rules but it didn’t work. I will give you the solution below. I hope it can help you. : httpd.ini [ISAPI_Rewrite] # 3600 = 1 hour CacheClockRate 3600 RepeatLi...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!