★ Welcome to The Guardian God · V Classroom, website address: http://v.huweishen.com
★ Guardian God · V Classroom is a Web site dedicated to providing server instructional video for the Guardian God, updated weekly video.
★ This section we will lead you: Install IIS pseudo-static
• Pseudo-static refers to the dynamic files in the form of static files to users, SEO-conducive.
· Windows R2 can also use IIS's own URL rewrite module to implement pseudo-static, but will produce a Web. config file;
It's not very friendly to PHP programs, so we don't use this approach.
• This section is followed by the "Install Php+mysql" course, so a pseudo-static example of the Discuz forum is made.
First we open the Discuz.
Access to the. php end of the file, that is, the pseudo-static is not turned on.
1. Preparatory work
• Pseudo-static use a component called the ISAPI rewrite, which can be downloaded in http://soft.huweishen.com/.
• He has multiple versions; After the full version is installed, it is only necessary to upload a pseudo-static rule file at the site root.
· Lite also requires that you register an ISAPI filter for each site to support it.
• For simplicity, we choose the 1.3 Lite version.
2. Installing ISAPI Rewrite
• We put it in the D:\wwwroot\discuz\rewrite directory and note that this directory is added to the read and execute permissions of users.
3. Adding pseudo-static rules
• Pseudo-static rules are generally provided by program developers; I'm ready to discuz. Pseudo-static rules.
4. Registering an ISAPI filter
Internet Information Services (IIS) Manager, start, Administrative tools
Find the ISAPI filter that you need to add pseudo-static sites,
• Since this version has only 32 bits, adjust the program pool to 32 bits.
5, to the background to enable pseudo-static rules
The website can be pseudo-static.
If you need to create pseudo-static for other sites, repeat steps 2, 3, 4, and 5.
Now that this section is over, please visit the Guardian God website (www.huweishen.com) for more instructional videos.
Reprint please indicate the source (http://v.huweishen.com/video/16.html) Thank you!
[Windows Server 2008] installation site Pseudo-static