<Host>
entry for the new lucee website in [lucee-root]/tomcat/conf/server.xml, towards the bottom.In the root folder* of the website to connect to Lucee, create a folder called BIN and copy the following files from the [lucee-root]/AJP13 folder:
(* i.e the document root folder of the host, even if the application uses a physical or virtual folder below that root. So if the app URL is lucee.dev/myapp, the BIN folder needs to go in the document root for lucee.dev.)
In the application's web root, ensure you have a web.config file containing the following BonCode handlers:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<handlers>
<remove name="BonCode-Tomcat-CFM-Handler" />
<remove name="BonCode-Tomcat-CFC-Handler" />
<add name="BonCode-Tomcat-CFM-Handler" path="*.cfm" verb="*" type="BonCodeIIS.BonCodeCallHandler" modules="ManagedPipelineHandler" resourceType="File" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode" />
<add name="BonCode-Tomcat-CFC-Handler" path="*.cfc" verb="*" type="BonCodeIIS.BonCodeCallHandler" modules="ManagedPipelineHandler" resourceType="File" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode" />
</handlers>
</system.webServer>
</configuration>
If you use extensions other than .cfm and .cfc for Lucee, then you'll need to add handlers for those as well.
To enable Lucee for another website, simply: