I'm really struggling with URLRewrite and Tomcat, specifically rewriting URLs without an extension. I'm using Lucee (CFML), but I think this problem is at the Tomcat level.
Here are two rules, the only ones in my .htaccess file.
RewriteRule ^/testpage$ /controller.cfm?permalink=testpage [L]
RewriteRule ^/testpage.cfm$ /controller.cfm?permalink=testpage [L]
The first rule does nothing at all.
The second rule works.
It seems like extensionless URLs are not being processed at all by Tomcat. When I check the logs (DEBUG), I see the two rule being test for the testpage.cfm page loads. I do not see the /testpage one being tested at all. It's like the filter never even sees it.
Can anyone point me in the right direction with this?