httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54687] New: mod_rewrite's REQUEST_FILENAME is truncated; stops at first non-existing element
Date Wed, 13 Mar 2013 14:23:08 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54687

            Bug ID: 54687
           Summary: mod_rewrite's REQUEST_FILENAME is truncated; stops at
                    first non-existing element
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Documentation
          Assignee: docs@httpd.apache.org
          Reporter: ralph-apachebugzilla@inputplus.co.uk
    Classification: Unclassified

mod_rewrite's REQUEST_FILENAME in a <Directory> isn't the full, requested,
path.  Say root is /a and I request /b/c/d/e.  Only /a/b exists on disk,
there's no c there.  %{REQUEST_FILENAME} will be /a/b/c because it stopped
being built when c wasn't found.

The behaviour is understandable but is not documented AFAICS.  Attempts to
match against e$ for example fail because /d/e didn't make it into
REQUEST_FILENAME.

http://httpd.apache.org/docs/current/mod/mod_rewrite.html#rewritecond describes
REQUEST_FILENAME.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message