Install the URL Rewrite (URL rewriting) module in IIS7 on windows Server

Source: Internet
Author: User
This module is applicable to IIS7, 7.5, and 8.
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 applications, it can provide friendly URLs for users and seo/seo.html "target =" _ blank "> search engines, URL rewriting and redirection are based on HTTP headers and server variables, and you can control the access to site content.
 
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 a *. htaccess rule file locally and then import it. See the following figure.
Open the newly installed module and you will see the following figure.
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. Click Add Rules as shown in the preceding figure.

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.
The IIS rewrite rules of some common programs will be updated later. You can also find the corresponding rules from the downloaded packages released on this site for import.
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.