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 2008/08/14 11:56:18 UTC

DO NOT REPLY [Bug 45280] REQUEST_FILENAME is not full local filesystem path

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





--- Comment #1 from Bob Ionescu <bo...@googlemail.com>  2008-08-14 02:56:18 PST ---
The value of REQUEST_FILENAME depends upon context. It contains the full
physical path only, if the request has already been mapped to the file system
(-> directory context). That's not the case if you're using mod_rewrite in
per-server context – you're still on uri-level. The full physical path is
simply unknown in this state of processing.
To get the full physical path in server-context, you'll need an internal
sub-request (%LA-U or %LA-F). Prefixing with document_root is not a solution,
because this may not be the physical path at the end (think about aliases,
mod_userdir etc.).

May be the docs should state that more clearly, but not the quoted 1.3 ones.


-- 
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