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: [email protected]
Reporter: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]