Hi community,
I’m new to Lucee and could do with a little help.
Lucee 5.3.7.47 (Oct 29, 2020)
Ubuntu 20 with VirtualMin
Amazon EC2 instance
I see that .cfm requests are offloaded to Tomcat on port 8888 by Apache’s apache2.conf file by the module ‘mod_proxy’.
Where can I write .htaccess directives that target the proxied requests?
Directives that are in the .htaccess webroot (e.g. /home/domain.com/public_html/.htaccess only work for non-proxied requests (e.g. stuff that stays within the main Apache – PHP and HTML requests).
Requests involving .cfml/.cfm don’t see to be targeted by directives in this main .htaccess.
I’ve found an .htaccess file in /home/domain.com/public_html/WEB-INF/.htaccess and WEB-INF/lucee/.htaccess but those doesn’t seem to effect the proxied requests either!
I see there are around 3 other similar topics on the forum but none of them have shed conclusive light on this and I’ve tried all combinations of directives from code fragments around but haven’t had luck so far.
Hoping someone can shed light.
So it seems like Tomcat on port 8888 is running its own web requests engine, but how can I give it .htaccess rules?
Thanks in advance.