Original link: http://www.cnblogs.com/diose/archive/2013/02/21/2920324.html
Recently engaged in URL rewriting encountered IIS without extension and HTML mapping issues for posterity to view
Because there are many features to consider (Urlrewriter components do not meet the requirements) so the HttpModule method is used to rewrite
Add application mappings in iis5.1. * (Note that this method is only available in 5.1) to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll determine if the file is removed
iis6.0 searched a lot of articles can not, finally saw an article in the wildcard application map insert Isapi.dll file mapping
Restarting the IIS directory map is working (it is said to consume server resources)
Below iis7.0+ version of this is more cumbersome but very simple not like iis6.0 I've been looking for a long time to find a way
1) First create a new application pool, name arbitrary, such as: Myweb, managed pipeline mode is temporarily set to Integrated mode;
2) Deploy the site and set the application pool for this site to MyWeb
3) Select the site, switch to the function attempt to find "server components," "Handler mapping", double-click, in the Open window on the right side of the action column to do the following settings:
Add script map: request path. html, executable file selection C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll, the name is arbitrary;
"Add Wildcard script map": Request path *, executable file: C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll, the name is arbitrary;
6) "Add managed Handler": Request path *, executable file: System.Web.UI.PageHandlerFactory, name arbitrary;;
4) Open the site switch to the function try, find "Server Components", "module", double-click, in the open window to the right of the Action section, click "Add Managed Module", type
Set up your own Httpmodel module and select "Make request calls only for ASP. NET applications or managed handlers";
8) Finally, find our first step to establish the application pool MyWeb, set the managed pipeline mode to Classic mode.
Restart Web site View
iis5.1/6.0/7.0+ configuration URL Rewrite no extension pseudo-static