Search code examples
iisasp-classicwindows-ceisapi

Render ASP in pages with .html extension in Windows CE


I want to be able to use the .html extension to render ASP pages.

I am using Windows CE 6 at the moment with the default web server, ASP is turned on.

My registry key looks like HKEY_LOCAL_MACHINE\COMM\HTTPD\ScriptMap with the following string key value pair added .html = \\Windows\\asp.dll. After doing this all my .html files gave a 403 error.

Update:

To get this working do the following: Add .html = \Windows\asp.dll (note single slashes) into HKEY_LOCAL_MACHINE\COMM\HTTPD\ScriptMap -> Double slashes are only required if you are adding via code.

If you get a 403 error then check your permissions to ensure scripts can be ran.


Solution

  • You need to escape the backlashes. Use "\\Windows\\asp.dll" instead.