Windows-based Configs

I’m looking for some validation on the configurations when running Lucee on a Windows Server (Lucee 5.3.7.48 with Tomcat 9.0.35, BonCode 1.0.41, and mod_cfml 1.1.11 running on Server 2019).

When searching the web, we seem to find some conflicting info here and there, and some things don’t seem to mesh with our assumptions (so we assume we have a config out of whack somewhere).

In IIS, if we want to run multiple sites (with no “Default Web Site”), would the bindings be similar to these?

http site01.company.com 80 (all unassigned IPs)
https site01.company.com 443 (all unassigned IPs)
Physical path: e:\webapps\site01
(with “Require server name indication” checked)
http site02.company.com 80 (all unassigned IPs)
https site02.company.com 443 (all unassigned IPs)
Physical path: e:\webapps\site02
(with “Require server name indication” checked)

In server.xml, this is what we’ve got for our AJP connector (which seems to work as we can hit one of the BonCode URLs and see its version info spit back):

<Connector
  port="XXXX"
  protocol="AJP/1.3"
  connectionTimeout="120000"
  redirectPort="8443"
  packetSize="40000"
  secret="YYYYYYYYYY"
  secretRequired="true"
  address="127.0.0.1"
  URIEncoding="UTF-8"
/>

In server.xml, if we’re letting mod_cfml do all the work, is this what is expected for the one, and only, Host entry?

  <Host name="localhost"
    appBase="webapps"
    workDir="work"
    unpackWARs="true"
    autoDeploy="true">

    <Valve className="org.apache.catalina.valves.AccessLogValve"
      directory="logs"
      prefix="localhost_access_log"
      suffix=".txt"
      pattern="%h %l %u %t &quot;%r&quot; %s %b"
    />
  
    <Valve className="mod_cfml.core"
      loggingEnabled="false"
      maxContexts="200"
      timeBetweenContexts="2000"
      scanClassPaths="false"
      responseCode="307"
      sharedKey="xxxxxxxxxxxx"
    />
  </Host>

Should ‘appBase’ point to ‘e:\webapps’ instead? Should ‘workDir’ be a full path? Are we missing a setting? I’ve seen some on the web make individual Host entries for each site (which I believe we don’t need to do - relying on mod_cfml instead) and some adding Context entries (which again, I assume are not needed with mod_cfml).

Currently it seems like we can get a single site to work, but when we try to do multiple sites, something is off kilter. Either the WEB-INF folder doesn’t get automatically created, or when we try and navigate to a site .CFM file (such as www.site01.company.com/index.cfm?), we get an infinite redirect (and I can’t find anything useful in the logs). So we were hoping someone can help us validate the basic configs for a Windows setup to see if we’re overlooking something.

Thanks!

Just a quick follow-up… We figured out why some things weren’t working right after resetting our Tomcat config files. Turned out there were some URL Rewrite rules someone else put in place that were hampering our testing. But I’d still like to hear from someone if the above configs and whatnot do not make sense, or if there are adjustments we need to make as we move forward.