Hi Dan,
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,
e.g.:
<VirtualHost *:80>
DocumentRoot “/Library/WebServer/Documents/www.lucee-example.local”
ServerName www.lucee-example.local
<Directory “/Library/WebServer/Documents/www.lucee-example.local”>
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
Include conf/lucee.conf
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:
https://bitbucket.org/lucee/lucee/wiki/How%20to%20set%20up%20a%20Lucee%20Server%20on%20Windows
Hope that helps.
Kind regards,
Andrew
about.me http://about.me/andrew_dixon
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 (
GitHub - mikesprague/vagrant-lemtl: Vagrant box with Linux, Nginx, MariaDB (or MySQL), Tomcat, and Lucee for local development with CFML and Java), 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?
Thanks,
Dan
–
You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/8337abfb-8b7e-490a-a621-363316a8b85e%40googlegroups.com
https://groups.google.com/d/msgid/lucee/8337abfb-8b7e-490a-a621-363316a8b85e%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.