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.
This behaviour was made possible with the upstream addition of the DPI|DiscardPathInfo flag in 2.2.12, so we can backport that.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause: Consequence: Fix: Result:
Please be so kind and add a few key words to the technical note of this bugzilla entry using the following structure: Cause Consequence: Fix: Result: Thanks
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1,7 +1,7 @@ -Cause: +Cause: URL rewrite step "add path info postfix" adds path info from the original request back into the URL. -Consequence: +Consequence: Unexpected results or endless rewrite loops. -Fix: +Fix: Backport DPI|DiscardPathInfo flag from 2.2.12. -Result:+Result: Using this flag in rewrite rules fixes the unexpected behaviour and/or endless loops.
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-2011-0237.html