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 2020/05/17 11:49:15 UTC
[Bug 64447] RewriteCond local file system checks (-f and others)
should allow (sane) relative path resolution
https://bz.apache.org/bugzilla/show_bug.cgi?id=64447
--- Comment #1 from Eric Covener <co...@gmail.com> ---
> using relative URLs will never work if the server process current working
> directory is not somewhere under the document root.
Do you mean here still relative paths in the -f/-d tests? There are facilities
for relative URLs and paths in the actual substitutions that use e.g.
CONTEXT_DOCUMENT_ROOT or RewriteBase.
I think what you propose for the -d/-f would require opt-in to be suitable for
release. At that point I am not sure if just providing a variable for the
htaccess path is better and using it in some examples.
(special care would be needed for rewrite inside other config sections)
--
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