★ 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 pseudo-static (Web. config method)
Microsoft has provided URL rewrite components for IIS7 and later versions, and can add rules to the configuration file (Web. config).
It can be used to implement such functions as URL rewriting, in this section we demonstrate this function by implementing pseudo-static filtering of "Discuz" as an example.
Discuz program I have installed, if you need to watch the installation method, please refer to my station related video.
1. Install the URL rewrite component
1) Download the component from the Guardian God download Channel or Microsoft official;
2) Execute the downloaded installation package;
Re-open the Iis,iis Manager to see the icon for the URL rewrite component
2. Turn on "Discuz" pseudo-static option and get to pseudo-static rule
1) "Discuz" in the background management, "URL static" page open;
2) When we get the pseudo-static rules, we need the rules under "IIS7 Web Server (Independent host user)";
3. Configure the "Web. config" file
1) If you have this file under the site, then add the rules in the "<system.webServer>" node, save it;
2) In this example, there is no "Web. config" file, to modify the site configuration, generate a "web. config" and add;
4. Test results
Visit the site, test the page address, has been pseudo-static succeeded.
Similarly, the pseudo-static of other web-site programs is done as well, mainly in the preparation of rules.
For more server Optimization configuration and security settings, please watch my other videos or purchase Guardian Gods and technical services.
Now that this section is over, please visit the Guardian God website (www.huweishen.com) for more instructional videos.
Reprint please specify the source (http://v.huweishen.com/video/65.html), thank you!
[Windows Server 2008] IIS configuration Pseudo-static method (IIS rewrite for Web. config mode)