https://bz.apache.org/bugzilla/show_bug.cgi?id=58573

            Bug ID: 58573
           Summary: mod_rewrite adds path info postfix after a
                    substitution occured
           Product: Apache httpd-2
           Version: 2.4.7
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_rewrite
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected], [email protected]
        Depends on: 38642

Created attachment 33248
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33248&action=edit
RewriteLog with comments

+++ This bug was initially created as a clone of Bug #38642 +++

Seems to be related to Bug #38642


Testcase:
-> RewriteRules in per-dir context, 
->.htaccess in root of http://test.zemedelskehaly.jan-mazanek/
-> used RewriteRules:

RewriteEngine On
RewriteBase /
RewriteRule ^(.*)$ test/$1
RewriteRule ^(.*)$ http://www.no.cz/phpinfo.php?rewritten=$1 [R=307,L,NE]

Description: Eyery Request should go to
http://www.no.cz/phpinfo.php?rewritten=/test/STRING_IN_URI_AFTER_HOST

-> Request: http://test.zemedelskehaly.jan-mazanek/1/2/3
-> http://www.no.cz/phpinfo.php?rewritten=test/1/2/3/ - expected result
-> http://www.no.cz/phpinfo.php?rewritten=test/1/2/3/2/3 - real result

Problem is with "add path info postfix", see attached Rewritelog

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to