I’m trying my best to go full Lucee and hitting a wall. Any help would be
greatly appreciated. So I did fresh install of my OS and I figured I’d
spruce up my local dev environment.
I got my hands on a copy of WAMP server version 3 which comes with Apache
2.4 and install successfully and can serve up pages just fine.
I go and grab myself a copy of Lucee 5, install and in just the same way
Tomcat is up and running and serving up pages just as fine.
Now for the tricky bit:
I get a copy of mod_cfml and put that into the apache modules folder, I
then go on to make these additions to the httpd.conf file:
<Proxy *>
When using Apache 2.2, use the following line (without the "# ")
Allow from 127.0.0.1
When using Apache 2.4, use this line (without the "# ")
Require ip 127.0.0.1
ProxyPreserveHost On
ProxyPassMatch ^/(.+.cf[cm])(/.*)?$ ajp://localhost:8009/$1$2
LoadModule modcfml_module modules/mod_cfml.so
CFMLHandlers “.cfm .cfc .cfml”
ModCFML_SharedKey “fancyspecialkeygoeshere”
Optional, all for logging and debugging:
LogHeaders true
LogHandlers true
LogAliases true
VDirHeader false
This is coming straight off of mod_cfml’s installation instructions.
Lucee comes with the mod_cfml valve jar already installed, and I’ve tried
with both the initially installed and a copy from mod_cfml website.
Regardless the .jar is installed and I make this change to server.xml:
Tomcat is aimed at port 8888 and Apache at 80
so localhost:8888 brings up the default Lucee page, and localhost brings up
the default Apache page.
However when I put a .cfm file in the Apache root at www I can’t view it, i
just get a 403 error.
Any suggestions on what I need to be doing/looking for to solve this issue?