You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2020/05/20 13:02:22 UTC
[Bug 64461] New: RewriteValve regression in 8.5.55
https://bz.apache.org/bugzilla/show_bug.cgi?id=64461
Bug ID: 64461
Summary: RewriteValve regression in 8.5.55
Product: Tomcat 8
Version: 8.5.x-trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: regression
Priority: P2
Component: Catalina
Assignee: dev@tomcat.apache.org
Reporter: apache-bugzilla=spam@ruediger-kuhlmann.de
Target Milestone: ----
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.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 64461] RewriteValve regression in 8.5.55
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64461
--- Comment #1 from apache-bugzilla=spam@ruediger-kuhlmann.de ---
PS. The same configuration was previously used with version 8.5.54, which
worked fine.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 64461] RewriteValve regression in 8.5.55
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64461
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Status|NEW |RESOLVED
--- Comment #2 from Mark Thomas <ma...@apache.org> ---
*** This bug has been marked as a duplicate of bug 64432 ***
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org