Copy link to clipboard
Copied
I Think I have the correct stuff done in the C:\ColdFusion10\cfusion\wwwroot\WEB-INF\web.xml ..
added the following lines...
<servlet-mapping id="coldfusion_mapping_16">
<servlet-name>CfmServlet</servlet-name>
<url-pattern>*.htm</url-pattern>
</servlet-mapping>
<servlet-mapping id="coldfusion_mapping_17">
<servlet-name>CfmServlet</servlet-name>
<url-pattern>*.htm/*</url-pattern>
</servlet-mapping>
I went to the IIS Manager and the Handler Mappings screen and added a Script Map for *.htm
executiable C:\ColdFusion10\config\wsconfig\2\isapi_redirect.dll . At first I was getting a 500 error.
Restarted machine and I just get a blank page with going to a htm page.
Any suggestions?
Copy link to clipboard
Copied
Did you find an answer to this? What web server are you using?
Copy link to clipboard
Copied
I see the web server WIndows 7. DId you get this working?
Copy link to clipboard
Copied
No I have not.
Copy link to clipboard
Copied
I have this same issue. If someone finds the solution please post to this thread. I just get a blank page.
Copy link to clipboard
Copied
Hi,
Remove the "htm" mapping from IIS handler mapping and web.xml.
Save the file
Re-start IIS and CF
Access the test.htm page and it would work for you.
IIS handles html/htm extension files by default. If you go to your IIS handler mappings, we don't see any html mapping, if we keep a test.html page on IIS webroot, still ISS processes it.
HTH.
Rg,
Spsb
Copy link to clipboard
Copied
The solution from spsb84 does not work. It serves the htm files, but does NOT process the ColdFusion code in the files. It just serves HTML and ignores the ColdFusion.
This solution works for me... http://www.webtrenches.com/post.cfm/processing-html-htm-or-other-files-in-coldfusion-10
Copy link to clipboard
Copied
Hi tSpark,
The post was updated as per the "execution of htm pages by IIS".
We tested by just creating a test htm page {with dummy data and no CF code}, placing it on IIS and executing it.
But, if it is related to CF code in htm page and the link-->http://www.webtrenches.com/post.cfm/processing-html-htm-or-other-files-in-coldfusion-10 serves good, then, thanks!!!
Rg,
Spsb