{"id":516,"date":"2015-02-11T23:46:42","date_gmt":"2015-02-12T04:46:42","guid":{"rendered":"http:\/\/www.cfchimp.com\/wordpress\/?p=516"},"modified":"2024-12-05T20:19:22","modified_gmt":"2024-12-06T01:19:22","slug":"processing-coldfusion-using-htm-and-html-files-with-lucee","status":"publish","type":"post","link":"https:\/\/csimmons.dev\/blog\/2015\/02\/processing-coldfusion-using-htm-and-html-files-with-lucee\/","title":{"rendered":"Processing ColdFusion using .htm and .html files with Lucee"},"content":{"rendered":"<p>If you want Lucee to use the .htm and .html file extensions instead of (or in addition to) .cfm and .cfml you can set this up in 3 quick steps.<\/p>\n<p>1. Stop Lucee<br \/>\n2. Edit the web.xml file located at <\/p>\n<pre class=\"prettyprint\"><Lucee Install Dir>\/conf\/web.xml<\/pre>\n<p><strong>From:<\/strong><\/p>\n<pre class=\"prettyprint\">\r\n<servlet-mapping>\r\n     <servlet-name>CFMLServlet<\/servlet-name>\r\n     <url-pattern>*.cfc<\/url-pattern>\r\n     <url-pattern>*.cfm<\/url-pattern>\r\n     <url-pattern>*.cfml<\/url-pattern>\r\n     <url-pattern>\/index.cfc\/*<\/url-pattern>\r\n     <url-pattern>\/index.cfm\/*<\/url-pattern>\r\n     <url-pattern>\/index.cfml\/*<\/url-pattern>\r\n<\/servlet-mapping>\r\n<\/pre>\n<p><strong>To:<\/strong><\/p>\n<pre class=\"prettyprint\">\r\n<servlet-mapping>\r\n     <servlet-name>CFMLServlet<\/servlet-name>\r\n     <url-pattern>*.cfc<\/url-pattern>\r\n     <url-pattern>*.cfm<\/url-pattern>\r\n     <url-pattern>*.cfml<\/url-pattern>\r\n     <url-pattern>*.htm<\/url-pattern>\r\n     <url-pattern>*.html<\/url-pattern>\r\n     <url-pattern>\/index.cfc\/*<\/url-pattern>\r\n     <url-pattern>\/index.cfm\/*<\/url-pattern>\r\n     <url-pattern>\/index.cfml\/*<\/url-pattern>\r\n<\/servlet-mapping>\r\n<\/pre>\n<p>3. Start Lucee<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you want Lucee to use the .htm and .html file extensions instead of (or in addition to) .cfm and .cfml you can set this up in 3 quick steps. 1. Stop Lucee 2. Edit the web.xml file located at \/conf\/web.xml From: CFMLServlet *.cfc *.cfm *.cfml \/index.cfc\/* \/index.cfm\/* \/index.cfml\/* To: CFMLServlet *.cfc *.cfm *.cfml *.htm &#8230; <a title=\"Processing ColdFusion using .htm and .html files with Lucee\" class=\"read-more\" href=\"https:\/\/csimmons.dev\/blog\/2015\/02\/processing-coldfusion-using-htm-and-html-files-with-lucee\/\" aria-label=\"Read more about Processing ColdFusion using .htm and .html files with Lucee\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"_cloudinary_featured_overwrite":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[68],"tags":[48,12,43],"class_list":["post-516","post","type-post","status-publish","format-standard","hentry","category-developer","tag-coldfusion","tag-developer","tag-lucee"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pbVg43-8k","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/posts\/516","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/comments?post=516"}],"version-history":[{"count":0,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/posts\/516\/revisions"}],"wp:attachment":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/media?parent=516"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/categories?post=516"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/tags?post=516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}