After installing Lucee 4.5.2.018 with the Vivio Technologies installer on Amazon Linux with Apache
it wasn’t serving cfml
pages. Since Amazon Linux is a bit different the installer doesn’t install the connector correctly.
Here is my fix for the issue on the 64bit version of Amazon Linux after running the lucee-4.5.2.018-pl0-linux-x64-installer.run installer:
#copy the mod_cfml for Apache 2.2 64bit from the lucee directory
cp /opt/lucee/sys/mod_cfml/centos-httpd22-x64/mod_cfml.so /usr/lib64/httpd/modules/
chmod 755 mod_cfml.so
# Get the Shared Key from the /opt/lucee/tomcat/conf/server.xml file
<!-- visit modcfml.org for details on mod_cfml configuration options -->
<Valve className="mod_cfml.core"
loggingEnabled="false"
maxContexts="200"
timeBetweenContexts="2000"
scanClassPaths="false"
sharedKey="SHARED KEY" />
# Fill in the SHARED KEY and add the Valve to : /etc/httpd/conf/httpd.conf
DirectoryIndex index.cfm index.cfml index.html index.html.var
# add this to the end of httpd.conf
LoadModule modcfml_module modules/mod_cfml.so
CFMLHandlers ".cfm .cfc .cfml"
ModCFML_SharedKey "SHARED KEY FROM ABOVE"
# Optional, all for logging and debugging:
# LogHeaders true
# LogHandlers true
# LogAliases true
# VDirHeader false
Hopefully this will help out till the installer is modified.
Links :
mod_cfml
Tomcat Value
Lucee Bug Report
Related Posts |
lucee |
install |
cfml |
amazon |
linux |
ec2 |
Please enable JavaScript to view the comments powered by Disqus.