https://issues.apache.org/bugzilla/show_bug.cgi?id=45280
Summary: REQUEST_FILENAME is not full local filesystem path
Product: Apache httpd-2
Version: 2.2.8
Platform: PC
OS/Version: Windows Vista
Status: NEW
Severity: normal
Priority: P2
Component: mod_rewrite
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
According to the documentation on
http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html, the variable
REQUEST_FILENAME is the full local filesystem path:
"REQUEST_FILENAME
The full local filesystem path to the file or script matching the request."
This seems not to be the case.
It seems the variable should be prefixed with DOCUMENT_ROOT to get the full
path.
Examples:
This does not trigger the rule:
RewriteCond %{REQUEST_FILENAME} -s
But this does:
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} -s
Please update the documentation or the implementation.
I lost several hours over this and I guess I'm not the only one.
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]