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.