handiramp
06-20-2008, 04:09 AM
Hi I'm trying to map my .html files to the asp.dll engine for parsing (I'd like IIS7 to treat .html files like they were old .asp files and run and <% %> code in them).
This worked fine on previous IIS servers but I can't get it to work on IIS7 despite copying the ASPClassic script map in the Handler Mappings.
Under the old IIS server I accomplished this by following these steps:
1. On the web server, go to the Internet Services Manager. (Usually under Administrative Tools, or you can go to Computer Management) 2. Right click on the website you wish to change, click Properties.
3. In the properties dialog, under the Home Directory tab, click the Configuration... button.
4. In the application Configuration dialog, under the App mappings tab, click the Add button.
5. In the Add/Edit application extension mapping dialog, enter the following
values:
* Executable: C:\WINNT\system32\inetsrv\asp.dll
* extension: .html (need this done for .htm too)
* Verbs section, select Limit to: GET,HEAD,POST,TRACE
* Script engine is checked
* Check that file exists is not checked
6. Click the OK, OK, OK
Any help would be greatly appreciated.
This worked fine on previous IIS servers but I can't get it to work on IIS7 despite copying the ASPClassic script map in the Handler Mappings.
Under the old IIS server I accomplished this by following these steps:
1. On the web server, go to the Internet Services Manager. (Usually under Administrative Tools, or you can go to Computer Management) 2. Right click on the website you wish to change, click Properties.
3. In the properties dialog, under the Home Directory tab, click the Configuration... button.
4. In the application Configuration dialog, under the App mappings tab, click the Add button.
5. In the Add/Edit application extension mapping dialog, enter the following
values:
* Executable: C:\WINNT\system32\inetsrv\asp.dll
* extension: .html (need this done for .htm too)
* Verbs section, select Limit to: GET,HEAD,POST,TRACE
* Script engine is checked
* Check that file exists is not checked
6. Click the OK, OK, OK
Any help would be greatly appreciated.