Does anyone have experience with or can point me to documentation for installing Lucee on a Windows server with the Apache HTTP web server? We have an application that relies on the x-sendfile function in Apache but still requires some rudimentary CFML functions. I am assuming that there is no installer and the connections will need to be configured manually. Any assistance is appreciated.
It’s been a while, but there’s not much to it. Install Lucee and install Apache. Add simple VirtualHost in Apache vhosts and proxy to Lucee like so:
ProxyPassMatch ^/(.+\.cf[cm])(/.*)?$ ajp://127.0.0.1:8009/$1$2
You can still install Lucee with the Windows Lucee Installer, you just have to connect Apache to it on your own. The mod_cfml project has documentation on how to hook up Apache on Windows to Lucee:
The standard mod_proxy config that the installer uses is like so
<IfModule mod_proxy.c> ProxyPreserveHost On ProxyPassMatch ^/(.+\.cf[cm])(/.*)?$ http://127.0.0.1:8888/$1$2 ProxyPassMatch ^/(.+\.cfml)(/.*)?$ http://127.0.0.1:8888/$1$2 # optional mappings #ProxyPassMatch ^/flex2gateway/(.*)$ http://127.0.0.1:8888/flex2gateway/$1 #ProxyPassMatch ^/messagebroker/(.*)$ http://127.0.0.1:8888/messagebroker/$1 #ProxyPassMatch ^/flashservices/gateway(.*)$ http://127.0.0.1:8888/flashservices/gateway$1 #ProxyPassMatch ^/openamf/gateway/(.*)$ http://127.0.0.1:8888/openamf/gateway/$1 #ProxyPassMatch ^/rest/(.*)$ http://127.0.0.1:8888/rest/$1 ProxyPassReverse / http://127.0.0.1:8888/ </IfModule>
Is that why I often see the rest error in the admin?
no idea. I haven’t seen a rest error in the admin.