[Windows Server 2008] IIS configuration Pseudo-static method (IIS rewrite for Web. config mode)

Source: Internet
Author: User

★ 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)

Related Article

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.