httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51352] New: Document Root Bug
Date Thu, 09 Jun 2011 23:27:57 GMT
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: bugs@httpd.apache.org
        ReportedBy: stevenmartin99@gmail.com
    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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message