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.
- Stop Lucee
- 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
*.html
/index.cfc/*
/index.cfm/*
/index.cfml/*
- Start Lucee
Hi Chris, I followed these instructions, but Lucee processing html files. Are there any other steps? I tried in vain to add a script map to BonCodeIIS.dll.
Are there any other steps missing?
Thanks in advance.
Take a look at this post: http://blog.simplicityweb.co.uk/105/manually-connecting-lucee-to-an-iis-website. I think there might be something in here to help. Specifically the “Install Lucee without the BonCode connector
” and “Copy the BonCode connector files” sections.
Thanks for the quick response. Actually, I got it to work by creating a managed handler instead. I just copied the one BonCode created for cfml and applied the pertinent HTML changes. See below:
*.html
BonCodeIIS.BonCodeCallHandler,BonCodeIIS,Version=1.0.0.0,Culture=neutral,PublicKeyToken=ad590a40d40745cf
BonCode-Tomcat-HTML-Handler