httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 58573] New: mod_rewrite adds path info postfix after a substitution occured
Date Mon, 02 Nov 2015 13:52:00 GMT
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: bugs@httpd.apache.org
          Reporter: jan.mazanek@abeo.cz
                CC: anders@schlund.de, bobsiegen@googlemail.com,
                    budzynowski@gmail.com, covener@gmail.com,
                    gormanjz@hotmail.com, ian@ianbrandt.com,
                    michael.moench@web.de, nikzze@mail.ru, reg@argi.ru
        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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message