IIS 6 executing html as aspx
Hi is there a way to configure IIS6 to ex开发者_如何学JAVAecute .html extensions as if they were .aspx?
Ok so in IIS6 you can open the website properties and go to the "Home Dirctory" tab and there is a section called "Application Settings". Under this section hit the "Configuration" button and here you can adjust the mappings for different extensions. I copied the isapi DLL path from a previous extension and added a new extension mapping for:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll
Also it is important to note that if you are trying to map extensions to files that don't exist (eg if you are url rewriting) you have to make sure to uncheck the box that says to verify if the file exists.
精彩评论