I added a error.cfm for 404 error and using onMissingTemplate in Application.cfc.
But, it only works for a cfm template is missing. But, not working for a directory if missing.
For one of fix, I added errordocument 404/error.cfm in my local setup to resolves the issue.
So, if we add means, it’ll easily help to prevent that issue and can able to show our template.
Please share your thoughts about anything related to this.
the ajp connector config usually only handles .cf* files, so it will be defaulting to .html or .htm which never gets to Lucee / error handling, hence the apache error