httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 51352] New: Document Root Bug
Date Thu, 09 Jun 2011 23:27:57 GMT

             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
    Classification: Unclassified

It says in the manual that 

"if the Document Root is Relative path , that it will be relative to the

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

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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message