You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by bu...@apache.org on 2020/11/09 04:24:07 UTC
[Bug 64891] New: Include must have an absolute path?
https://bz.apache.org/bugzilla/show_bug.cgi?id=64891
Bug ID: 64891
Summary: Include must have an absolute path?
Product: Apache httpd-2
Version: 2.4.43
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Documentation
Assignee: docs@httpd.apache.org
Reporter: zhoushulin1992@gmail.com
Target Milestone: ---
In the document of
"Include"(http://httpd.apache.org/docs/2.4/mod/core.html#include), it says that
"The file path specified may be an absolute path, or may be relative to the
ServerRoot directory". However, in the source code of
ap_process_fnmatch_configs() in config.c, the logic and log message indicate
that "Include must have an absolute path". Is this a misleading log message or
a wrong document?
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
[Bug 64891] Include must have an absolute path?
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64891
Rich Bowen <rb...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED
--- Comment #1 from Rich Bowen <rb...@apache.org> ---
The documentation is correct here. Users can specify relative paths, and they
are resolved against ServerRoot before processing.
I suppose it's possible that one could find the log message to be misleading,
but looking at the code it seems to mean something like "Could not resolve this
to an existing absolute path" rather than that the original argument to Include
must be absolute.
Resolving as doc bug, but if you feel strongly about it, perhaps reopen as a
code/log message bug?
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org