Hello! I’m currently trying out Lucee over ACF and am having an issue with the way our app is including files.
All of our sites’ index.cfm and Application.cfc files are actually symbolic links to shared files. Example:
/var/www/www.example.com/html/index.cfm → /usr/app/engine/index.cfm
/var/www/www.example.com/html/Application.cfc → /usr/app/engine/Application.cfc
Within the Application.cfc file we have <cfinclude template="app_ips.cfm">
(this is the first <cfinclude>
that the code hits, from what I can tell and is located at /usr/app/engine/app_ips.cfm) but Lucee shows an error:
Page /index.cfm [/var/www/index.cfm] not found
The error also mentions "Mapping: / " which I do have a mapping setup:
/ --> /var/www
Removing the mapping changes the error:
Page /app_ips.cfm [/var/www/www.example.com/html/app_ips.cfm] not found
Within httpd.conf I have the following (which I honestly don’t know what it’s doing, if anything):
<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
ProxyPassReverse / http://127.0.0.1:8888/
</IfModule>
Any thoughts as to what could be happening? Any additional info I can provide?
Thank you!
Don’t forget to tell us about your stack!
OS: AlmaLinux 9
Java Version: 11.0.22
Tomcat Version: 9.0.86
Lucee Version: 5.4.5.23
7 posts - 3 participants