Have you tried using the installer and then using either the connector that
comes with the installer or mod_jk? Personally I prefer mod_jk as I’ve
found mod_cfml a bit, well, ropey, but it has always been pretty straight
forward to get working.
Basically, install using the installer and tell it not to install the
connector, download and install mod_jk and then configure Apache to use
mod_jk for cfm, cfc, etc… files, which I tend to do by having a
“lucee.conf” file containing:
JkMount /*.cfm ajp13
JkMount /*.cfc ajp13
JkMount /*.do ajp13
JkMount /*.jsp ajp13
JkMount /*.cfchart ajp13
JkMount /*.cfm/* ajp13
JkMount /*.cfml/* ajp13
JkEnvVar REDIRECT_URL ""
JkEnvVar REDIRECT_REMOTE_HOST ""
JkEnvVar REDIRECT_PATH ""
JkEnvVar REDIRECT_QUERY_STRING ""
JkEnvVar REDIRECT_HTTP_ACCEPT ""
JkEnvVar REDIRECT_HTTP_USER_AGENT ""
JkEnvVar REDIRECT_REMOTE_ADDR ""
JkEnvVar REDIRECT_SERVER_NAME ""
JkEnvVar REDIRECT_SERVER_PORT ""
JkEnvVar REDIRECT_SERVER_SOFTWARE ""
And then including this file in the sites you want to be Lucee enabled,
Options Indexes FollowSymLinks
Allow from all
Then in the server.xml you need to add a host record:
Once done restart Apache and Tomcat and you should be done.
If you are trying to do it from a pre-installed (e.g. os installed) Tomcat
then you might find this Windows guide helpful as the process is
essentially the same:
Hope that helps.
mso http://www.mso.net - Lucee http://lucee.org - MemberOn 7 April 2015 at 21:33, Dan Councill <@Dan_Councill> wrote:
Does anyone have a multi host setup guide for Lucee? I’ve been trying to
cobble a test server together from various pages, and I seem to almost get
it working, but ultimately I seem to hit a brick wall.
I started with Mike’s Lemtl Vagrant box (
https://github.com/mikesprague/vagrant-lemtl), which seemed like it was
working, until I realized that it was basically a single site WAR
deployment (no connectors, no creation of the WEB-INF files on the fly).
I moved on to Robert Munn’s OSX guide, trying to adapt it to Ubuntu, and I
got the default site working, but then once I add a host or try to set the
context for the default site in server.xml, it stops working.
I then tried Sean Corfield’s guide to setting up Railo from 2009 (
http://corfield.org/entry/Railo_on_Tomcat__multiweb), but couldn’t seem
to get it working with modified Lucee commands.
At this point, nothing seems to be working correctly, with most attempts
breaking once I change the directory to the actual site location, or it
only being the individual WAR install, which won’t work for what I am
trying to do ( have an automated deploy that will set up datasources and
mapped dirs on init across all sites).
Anyone have any guidance?
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an
email to firstname.lastname@example.org.
To post to this group, send email to email@example.com.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.