Hi, I'm using the Harbottle packages for tomcat (tomcat8-8.5.55-1.el7.harbottle.x86_64 tomcat8-native-1.2.24-1.el7.harbottle.x86_64) on a CentOS 7 machine. I have a RewriteValve configured with something structurally identical to this: === RewriteCond %{ENV:orig_REQUEST_URI} ^[^/].* RewriteRule (.*) $1 [E=orig_REQUEST_URI:%{REQUEST_URI}] RewriteRule ^/OldURI23(.*) /NewerURIIsHere45$1 === When accessing this directory (it is the docBase directory, and has an index.html as main page), a 404 page is returned that /NewerURIIsHere45/index.html is not found. Commenting out the last line, or the first two lines and restarting tomcat will make it work again. If the last line is changed to RewriteRule ^/OldURI23()(.*) /NewerURIIsHere45$1$2 any access will throw an error that there is no group 2. Which suggests the wrong regexp match is consulted here.
PS. The same configuration was previously used with version 8.5.54, which worked fine.
*** This bug has been marked as a duplicate of bug 64432 ***