Reputation: 1428
Hi is there a way to configure IIS6 to execute .html extensions as if they were .aspx?
Upvotes: 0
Views: 1073
Reputation: 1428
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.
Upvotes: 3