Empty response instead of 404

I’m sure this is more of a Tomcat thing than a Lucee thing, but I’ve got an app I ported over to Lucee that for some reason is setup to have .htm files handled as though they’re .cfm files. I got that part working just fine by updating a Tomcat config file. The problem I have is that if I make a request for an .htm file that doesn’t exist, I get a totally empty response. This is Lucee 5.3.10.120 running on a Windows server behind IIS.
Perhaps I should just create an IIS rewrite rule to check for the existence of the requested file and redirect to an error page if it doesn’t exist? Is there no default 404 response in Tomcat?

try toggling this setting?

1 Like

Brilliant. That did the trick. Thanks!

1 Like