Copy link to clipboard
Copied
I can't seem to get ColdFusion 2021 to render HTML pages with CF code in it. This is a fresh install on new server running MS Server 2019, no prior CF installs on this server. I am running enterprise version of CF 2021.0.10.330161. I have followed the steps from https://helpx.adobe.com/coldfusion/kb/render-html-pages-using-coldfusion.html but still no success. I know I have done this successfully with my 2018 version and for the life of me never had issues with this part before. Is there something else that needs to be done for CF2021 to render HTML pages? I am kind of at a loss here. Any help or ideas are greatly appreciated.
Thanks.
1 Correct answer
Jd, that article being from cf8 is one to definitely skip, for those on cf10 or above, whose architecture is quite different. I have a blog post from a decade ago where I both discuss the matter and point to a resource from the cf10 era, AND there are helpful comments on my post that may be additionally useful points:
https://www.carehart.org/blog/2011/10/14/coldfusion_processing_html_or_other_file_extensions
Note that there are broadly 3 places to modify: a cf xml file, (and then assuming y
...Copy link to clipboard
Copied
Jd, that article being from cf8 is one to definitely skip, for those on cf10 or above, whose architecture is quite different. I have a blog post from a decade ago where I both discuss the matter and point to a resource from the cf10 era, AND there are helpful comments on my post that may be additionally useful points:
https://www.carehart.org/blog/2011/10/14/coldfusion_processing_html_or_other_file_extensions
Note that there are broadly 3 places to modify: a cf xml file, (and then assuming your using a web server other than cf's) the cf web server connector uriworkermap.properties file, and then the settings for iis handler mappings or apache's addHandler line.
I never got around to pulling together a new post with all the modern steps, but you should be able to get things going. If not, ask here.
And if anyone may want to discuss whether and why one should even WANT (or not want) to in the post, if that may save you some typing.
/Charlie (troubleshooter, carehart. org)
Copy link to clipboard
Copied
Brilliant Charlie! I was missing the step of adding to the Handler Mappings in IIS. Once I did that then CF would render in html pages. As always you rock, thank you!

