Hi All
I am evaluating Lucee as an alternative to getting us away from Adobe but I
have run into a problem that after several hours of changes and service
restarts I just cant resolve. I have googled this issue considerably and I
am finding contradictory and ultimately ineffective solutions so I hope you
guys can help.
I have installed Lucee on my dev machine (Ubuntu Mate 1404) and got it
parsing .cfm files fine against the default website and got it creating the
WEB-INF directory and parsing .cfm files fine.
However, I cannot get it to work with any other VirtualHost. Apache
recognises the virtualhost fine and renders its index.html but when I
browse to my test index.cfm Lucee will only render the Lucee welcome screen
HTML!
I have noticed that
- Lucee is not creating WEB-INF in the virtual host’s folder
- Apache is configured fine resources load fine
- Lucee isnt working so ofc I get the welcome screen with no resources
(because apache is mapped the site correctly and has no resources) - When I hit the site the tomcat logs dont change, no errors (ther than
404s) are logged by Apache
I have these configs
- Lucee installed by the installer
lucee-4.5.2.018-pl0-linux-x64-installer.run - Lucee install folder: /opt/lucee
- Lucee user “lucee”
- webserver: Apache 2.4.7
- server webroot: /var/www/
- default webroot: /var/www/html
- secondary test site: /var/www/dev-branch/site1
- Lucee and Apache have been restarted and reloaded several dozen times
The lucee user is in the www-data groups.
The web folders are all owneed by www-data:wwww-data and for now have
permissions 777 (just to eliminate permissions as a problem)
I have added virtual host configs to tomcat and Apache:
/opt/lucee/tomcat/conf/servers.xml
dev-branch
/etc/apache2/sites-enabled/dev-branch.conf
this file has been butchered together from several fixes I have read online
ServerAdmin webmaster@localhost
ServerName dev-branch
DocumentRoot /var/www/dev-branch/site1
DirectoryIndex index.cfm
Options FollowSymLinks
AllowOverride None
<Directory /var/www/dev-branch/site1/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
ErrorLog ${APACHE_LOG_DIR}/www.domain.com-error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
I hope that is enough info!
Thanks for any help.
jvc