IIS7 configuring pseudo-static to map suffix names to html

Source: Internet
Author: User

1. Create a new site in IIS. "When you create it, you don't have to choose the version and the mode, by default."

2. Select the site, switch to the function to try to find "handler mapping", double-click on the right side of the open window under the Action column to do the following settings:

1) Right "add script map": request path. HTML, executable file selection C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll, if 4.0, is C:\Windows\Microsoft.NET\ framework\v4.0.30319 \aspnet_isapi.dll, Name: htmlrequest

2) " Add wildcard script map": Request Path *, executable file: C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll, name: all;

3) Managed handler mapping: Path: * Executable file: System.Web.UI.PageHandlerFactory (copy this) name: Html-integrate;

4) then open the site switch to the function to try to find the "module", double-click on the right side of the open window in the Action section, click "Add Managed Module", Name: All or Random, type " XXcms.Web.UI.HttpModule (Site-specific HttpModule.cs) "(This must be filled, the dropdown can also be selected), and the" make a request call to an ASP. NET application or managed handler "selected

3. Set the managed pipeline mode to Classic mode. OK, fix it.

IIS7 configuring pseudo-static to map suffix names to html

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.