Apache and IIS have their own pseudo-static operation method, that in the Servers2003_iis need to use pseudo-static PHP program? Install the rewrite plug-in package.
First, download rewrite plug-in package, generally inside must have Httpd.ini and Rewrite.dll,
two or one it is recommended to put the pseudo-static package into the root directory of the Web site, and then right-click on a pseudo-static site to select Properties , find the ISAPI filter, add Rewrite.dll, turn off IIS and then open, the occurrence of priority becomes high, indicating that the installation was successful.
Third, open the Httpd.ini, start configuring pseudo-static
Copy the Code code as follows:
[Isapi_rewrite]
# 3600 = 1 hour
Cacheclockrate 3600
Repeatlimit 32
# Protect Httpd.ini and Httpd.parse.errors files
# from accessing through HTTP
# ===== above is the default code recommendation does not change, #为注释 =====
Copy the Code code as follows:
#RewriteRule-pseudo-static editing
#^/Pre-domain name
#/$ here
#/--pseudo static--\--suffix--\
Rewriterule ^/webiste/$/webiste/index\.php\
# ([a-z]+)--Regular expression
#一个 () represents a $ number
#(/?) --Express/optional
Rewriterule ^/webiste/([a-z]+) (/?) $/webiste/$1\
Pseudo-Static is updated in real-time, so you can do instant testing.
PS: ([a-z0-9]+), (/page?) ([a-z0-9]+) (/?)
http://www.bkjia.com/PHPjc/327961.html www.bkjia.com true http://www.bkjia.com/PHPjc/327961.html techarticle Apache and IIS have their own pseudo-static operation method, that in the Servers2003_iis need to use pseudo-static PHP program? Install the rewrite plug-in package. First, download rewrite plug-in package, the general inside ...