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.