I’m having trouble configuring Lucee on Mac OSX 10.11.5 (El Capitan) to
work from “http://local.luceetest.com:8080”. Basically, Lucee is not
handling requests and .cfm files are returned as plain text. Here’s what I
did:
I installed Lucee 5 by deploying the WAR file - I following these
directions:
http://docs.lucee.org/guides/running-lucee/osx/installing-tomcat-and-lucee-on-os-x-using-the-lucee-war-file.html
(FYI, step 9, there is no lucee-inst.jar file, so I changed it to
lucee.jar, which does exist)
After the install, Lucee works, and I can access it from
http://localhost:8080 and http://localhost:8080/lucee/admin/web.cfm
Now I want to setup a new app in the host name: “local.luceetest.com” which
I want to map to “/Users/JP/Dev/luceetest/”, so I changed the /etc/hosts
file to include:
127.0.0.1 local.luceetest.com
Then I changed server.xml to include this mapping:
</HostI added a simple CFM file in: /Users/JP/Dev/luceetest/index.cfm that has
Hello World!
I restarted Tomcat
Now, when I navigate to: http://local.luceetest.com:8080/index.cfm, it’s
delivered as a plain text file, and the entire test file is served with all
the markup:
Hello World!
The good thing is that the file is being served by tomcat, but Lucee is not
getting its hands on it. What am I missing or how can I trace this request
and figure out why Lucee isn’t getting it?
FYI, I used configtest.sh to test my tomcat config and it passes.