You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2011/05/16 21:50:48 UTC

DO NOT REPLY [Bug 51207] New: rewrite ruleset does not longer works (in 2.2.18)

https://issues.apache.org/bugzilla/show_bug.cgi?id=51207

             Bug #: 51207
           Summary: rewrite ruleset does not longer works (in 2.2.18)
           Product: Apache httpd-2
           Version: 2.2-HEAD
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: regression
          Priority: P2
         Component: mod_rewrite
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: kdevel@vogtner.de
    Classification: Unclassified


Given the directories x, x/1 and the file x/1/2 below and the following ruleset
provided in the .htaccess file in document root

      1 RewriteEngine On
      2 RewriteCond   %{REQUEST_URI} d/(.*?)/(.*?)/(.*)$
      3 RewriteCond   %{DOCUMENT_ROOT}/x/%1/%2 -f
      4 RewriteRule   d/(.*)$ x/%1/%2/%3

apache 2.2.17 compiled with

    ./configure --prefix=/tmp/2.2.17/ --enable-rewrite
    make
    make install

and with these modifications in httpd.conf

     40 Listen 2217
    151     AllowOverride All

delivers the content of the file x/1/2 to the browser upon the url
http://localhost:2217/d/1/2/3 as expected.

Apache 2.2.18, however, returns a 404 Error "The requested URL /d/1/2/3 was not
found on this server."

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 51207] rewrite ruleset no longer works (in 2.2.18)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51207

Stefan <kd...@vogtner.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|rewrite ruleset does not    |rewrite ruleset no longer
                   |longer works (in 2.2.18)    |works (in 2.2.18)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 51207] rewrite ruleset no longer works (in 2.2.18)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51207

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|rewrite ruleset does not    |rewrite ruleset no longer
                   |longer works (in 2.2.18)    |works (in 2.2.18)

--- Comment #2 from Eric Covener <co...@gmail.com> 2011-05-16 19:57:35 UTC ---
sorry, overwrote summary change.

  *) core: Honor 'AcceptPathInfo OFF' during internal redirects,
     such as per-directory mod_rewrite substitutions.  PR 50349.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 51207] rewrite ruleset does not longer works (in 2.2.18)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51207

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|rewrite ruleset no longer   |rewrite ruleset does not
                   |works (in 2.2.18)           |longer works (in 2.2.18)

--- Comment #1 from Eric Covener <co...@gmail.com> 2011-05-16 19:55:20 UTC ---
I'm thinking PR50349?  You need to explicitl enable AcceptPathInfo if you're
counting on it to accept that URL.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 51207] rewrite ruleset no longer works (in 2.2.18)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51207

Stefan <kd...@vogtner.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Stefan <kd...@vogtner.de> 2011-05-16 20:06:30 UTC ---
THX. "AcceptPathInfo On" in .htaccess solved the problem. I have not read the
ChangeLog thouroughly enough ;-)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 51207] rewrite ruleset no longer works (in 2.2.18)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51207

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |INVALID

--- Comment #4 from Eric Covener <co...@gmail.com> 2011-05-16 20:23:47 UTC ---
changing disposition to invalid instead of fixed -- thanks for confirming.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 51207] rewrite ruleset does not longer works (in 2.2.18)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51207

Stefan <kd...@vogtner.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kdevel@vogtner.de

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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