This problem mainly occurs when the application-level address is overwritten. If you rewrite a dynamic address to a virtual address with another extension or without an extension, you can access such an actually nonexistent address in IIS5.1 and II6.0, first, the Web server returns 404. Therefore, before executing an address request, the Web server is not sure whether the address exists.
The procedure is as follows:
1. Open the IIS Service Manager
2. Select a website or virtual directory that has been address-oriented (usually UrlRewrite or Routing)
3. Right-click the "properties" Page and select the "home directory" (website) or "virtual directory" (virtual directory) tab. Click the configuration button, click Insert in the ing tab of the application configuration page and select. net isapi, usually "C: \ WINDOWS \ Microsoft. NET \ Framework \ v2.0.50727 \ aspnet_isapi.dll"
4. In the most important step, remove the check box before "check whether the file exists" and click OK.
If it is a small range, or there is a specific extension ing, we recommend that you select extension ing, that is, add a specified extension, and then specify the extension program for processing such files. Before confirming, remove the check box before "check whether the file is saved.
For example, I want to set "/news/default. aspx? In the form of "news/123.html#", I want to add the ".html extension in the website configuration. Of course, the extension" aspnet_isapi.dll "is still required for processing.
Certificate ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1 iis6.0 ing Configuration
IIS configuration: website-> properties-> directory-> Configuration (G)...-> ing-> application extension-> Add
Executable File: c: \ windows \ microsoft.net \ framework \ v2.0.50727 \ aspnet_isapi.dll
Extension:. html
Action: limit to GET, HEAD, POST, and DEBUG
Script Engine: Selected
Check whether the file exists: No
Click Configure in the main directory and select insert
C: \ windows \ microsoft.net \ framework \ v2.0.50727 \ aspnet_isapi.dll
Remove the check mark before checking whether the file exists
Certificate ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2 iis5.1 ing configuration BUG
Microsoft's explanation: http://support.microsoft.com /? Id = 317948 # top
When you add application ing to Internet Information Services (IIS) on a computer running Microsoft Windows XP Professional EditionOKClick a button to access or browse the path of the. exe or. dll file, and then enter the file extension.
To solve this problem, follow these steps:
IIS7.0
Handler ing-> Add script ing
Request Path:. html
Executable File: c: \ windows \ microsoft.net \ framework \ v2.0.50727 \ aspnet_isapi.dll
Request limit-> predicate: Limit: GET, HEAD, POST, DEBUG