I have been a long-term user of ColdFusion starting out when it was still
an Allaire product. I am now stopping using it because I am sick of Adobe
and it is hard to keep secure.
I have now installed Lucee with Tomcat on a Centos 6.6 distribution. I
chose /opt/lucee as the location and port 8888 for the Tomcat server. I
hardened it as per the usual things.
The installation was successful and I connected Apache with Tomcat during
the installation process. I can access the Lucee admin (server/web) from
port 8888 and Apache is serving
html fine from 80.
All my files are served (in CF) from /var/www/html and I want to maintain
I have read a heap of instructions etc about how to change the webroot in
As best as I could understand I did this:
- In the file /opt/lucee/tomcat/conf/server.
<Host name="name of server" appBase="webapps"> <Context path="" docBase="/var/www/html" /> <Alias>name of server</Alias> </Host>
saved it and restarted lucee
- In /etc/httpd/conf/httpd.config I added
ServerAdmin AN EMAIL ADDRESS
ServerName name of server
ErrorLog logs/name of server-error_log
CustomLog logs/name of server-access_log common
I also added index.cfm to the DirectoryIndex
I saved it and restarted httpd
(a) Apache still serves html from Port 80
(b) When I try to call index.cfm from Port 80 (located in /var/www/html/) I
get the Apache error
Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance
downtime or capacity problems. Please try again later.
(b) If I call server_name_domain:8888 I get the contexts of index.cfm in
© I can still get
http://e2.newcastle.edu.au:8888/lucee/admin/web.cfm and http://
At that stage I am lost.
I guess it is a very simple adjustment and would appreciate help.
I always used stand-alone CF installations (that is not a java servlet set
Thanks in advance.