Bug 517500

Summary: mod_rewrite adds path info postfix after a substitution occured
Product: Red Hat Enterprise Linux 5 Reporter: Joe Orton <jorton>
Component: httpdAssignee: Joe Orton <jorton>
Status: CLOSED ERRATA QA Contact: BaseOS QE <qe-baseos-auto>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.4   
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://issues.apache.org/bugzilla/show_bug.cgi?id=38642
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 214571 Environment:
Last Closed: 2010-03-30 08:28:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joe Orton 2009-08-14 11:57:58 UTC
+++ This bug was initially created as a clone of Bug #214571 +++

For certain rewrite rules this will lead to an endless loop. In other cases the
rewrite will "only" produce a bad result and cause pages not found errors.

I could attach my own example, but I suppose the examples in the bugreports at
apache.org (http://issues.apache.org/bugzilla/show_bug.cgi?id=38642 and
http://issues.apache.org/bugzilla/show_bug.cgi?id=33022) should be self explanatory.

Issue also exists for RHEL 3. If you need a separate bug report for RHEL 3
please clone this one.

--- Additional comment from jorton on 2009-08-14 07:55:24 EDT ---

This behaviour was made possible with the upstream addition of the 

   DPI|DiscardPathInfo

flag in 2.2.12, so we can backport that.

Comment 5 errata-xmlrpc 2010-03-30 08:28:26 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2010-0252.html