Install Apache pseudo-static plug-in IIS, iisapache pseudo-static _ PHP Tutorial

Source: Internet
Author: User
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...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.