IIS7-URL override (URL rewrite module)

Source: Internet
Author: User

Microsoft added the URL rewriting module in iis7 for free. It is indeed a good choice to import. htaccess rules.

URL rewrite Module

URL rewrite module is a rule-based URL rewriting engine used to change the request URL before the URL is processed by the Web server. For dynamic Web ApplicationsProgramIt can provide friendly URLs for users and search engines. URL rewriting and redirection are based on HTTP headers and server variables, and you can control site content access.

Use the FastCGI mode provided by iis7

Official Address: Use URL rewrite Module
Download the appropriate module: x86 x64
Supported: URL rewrite module Forum

Download and install the corresponding module, and restart it. You can see the URL rewrite module.

The simplest processing method is to write*. HtaccessImport the rule file. View

Open the newly installed module and you will see it.

The rule is displayed when the application returns.

After the import, the application can be used normally. This is relatively simple.

Next, add them manually. Take a lookAdd RulesThat's it.

Add rule ing...

The rule is displayed after it is saved.

After that, you can view the rule file in the web. config file of the program directory.

Later, the IIS rewrite rules of some common programs will be updated. You can also find the corresponding rules from the downloaded packages released on this site.

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.