URLs in Lucee are case sensitive

Ahh, I know what your problem is. You’re changing the case of the file extension. This is actually a Tomcat issue as the servlet mappings ARE case sensitive (Lucee has no control over this). If you look in your web.xml you’ll see the servlet mappoings are probably for *.cfm not *.CFM so Lucee is never getting the request sent to it in the first place.

You have two options as I see it:

  1. Implement some sort of URL rewrite rule to lowercase all .cfm extensions
  2. Add additional servlet mappings to your web.xml to cover all possible combinations of .cfm .CFM .Cfm .CFm, etc, etc.
1 Like