Install the Apache pseudo-static plug-in IIS and the iisapache pseudo-static plug-in. The Apache pseudo-static plug-in is installed in IIS. iisapache pseudo-static Apache and IIS have their own pseudo-static operation methods respectively. what if you need to use pseudo-static for PHP programs in Servers2003_IIS? Install rewrite plug-in IIS install Apache pseudo static plug-in, iisapache pseudo static
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] + )(/?)
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 rewrite plug...