https://issues.apache.org/bugzilla/show_bug.cgi?id=51352
Bug #: 51352
Summary: Document Root Bug
Product: Apache httpd-2
Version: 2.2.17
Platform: PC
OS/Version: Windows Vista
Status: NEW
Severity: normal
Priority: P2
Component: Build
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
It says in the manual that
"if the Document Root is Relative path , that it will be relative to the
SERVERROOT"
-------------------------------------------------------------------------------
i have
ServerRoot "c:/Apache2"
DocumentRoot "/" (This is relative)
The entire c:\ drive is shown in brower for http://localhost as expected
-------------------------------------------------------------------------------
also if no SERVERROOT is specified and Document Root is relative it is then
relative to the serverroot
#ServerRoot
DocumentRoot "htdocs" (this is relative path)
Now only files in the c:\apache2\htdocs folder are shown at http://localhost
------------------------------------------------------------------------------
--------------------------------------------------------------------------------
This is not clear in the manual that regardless of the server root being
set that relative paths are relative to the server root.
and there is no way of setting the document root = serverroot using relative
paths because the document root cannot be left empty.
--
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]