Install Apache pseudo-static plug-in IIS and iisapache pseudo-static plug-in
Apache and IIS have their own pseudo-static operation methods. What should I do if I need to use the pseudo-static operation method for the PHP program in Servers2003_IIS? Install the rewrite plug-in package.
1. Download the rewrite plug-in package, which usually includes httpd. ini and Rewrite. dll,
2. We recommend that you store the pseudo-static package under the root directory of the website, right-click the website that requires the pseudo-static package, select attributes, find the ISAPI filter, and add rewrite. dll, close IIS and then enable it. If the priority changes to high, the installation is successful.
3. Open httpd. ini and start configuring pseudo-static
1 [ISAPI_Rewrite] 2 3 #3600 = 1 hour 4 CacheClockRate 3600 5 6 RepeatLimit 32 7 8 9 # Protect httpd. ini and httpd. parse. errors files10 # from accessing through HTTP11 12 #==== the above is the default code that is not recommended to be changed, # For annotation ====
1 # RewriteRule -- pseudo-static editing 2 # ^/pre-Domain Name 3 #/$ here until 4 #/-- pseudo-static -- \ -- suffix -- \ 5 RewriteRule ^/webiste/$ /webiste/index \. php \ 6 7 # ([a-z] +) -- Regular Expression 8 # a () represents a $ number 9 #(/?) -- Indicates/optional; 10 RewriteRule ^/webiste/([a-z] + )(/?) $/Webiste/$1 \
4. pseudo-static data is updated in real time, so real-time testing can be performed.
PS :( [a-z0-9] +), (/page ?) ([A-z0-9] + )(/?)