# install module compiling prerequisite
sudo apt-get install apache2-threaded-dev
# get/compile/place new module
cd /tmp
wget -O mod_cfml-master.zip https://github.com/utdream/mod_cfml/archive/master.zip
unzip mod_cfml-master.zip
cd ./mod_cfml-master/C
sudo make
sudo make install
# add module to available modules, in the ubuntu style
echo "LoadModule modcfml_module modules/mod_cfml.so" \
| sudo tee /etc/apache2/mods-available/mod_cfml.load
# add module conf, in the ubuntu style
echo \
'<IfModule modcfml_module.c>
CFMLHandlers ".cfm .cfc .cfml"
ModCFML_SharedKey "secret key also set in the Tomcat valve config"
# Optional, all for logging and debugging:
# LogHeaders true
# LogHandlers true
# LogAliases true
# VDirHeader false
</IfModule>
' \
| sudo tee /etc/apache2/mods-available/mod_cfml.conf
# enable module, in the ubuntu style
sudo a2enmod mod_cfml
# remove perl version
sudo /opt/lucee/sys/remove_mod_cfml.sh
# restart apache
sudo service apache2 restart
I'll need to do this with my target servers, as well (CentOS), so I'll probably post back with that, as well.