httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45280] REQUEST_FILENAME is not full local filesystem path
Date Thu, 14 Aug 2008 09:56:18 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45280





--- Comment #1 from Bob Ionescu <bobsiegen@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


Mime
View raw message