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 2003/03/31 07:19:36 UTC

DO NOT REPLY [Bug 18509] New: - Document Root in Tag Is Ignored

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18509>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18509

Document Root in  <VirtualHost> Tag Is Ignored

           Summary: Document Root in  <VirtualHost> Tag Is Ignored
           Product: Apache httpd-1.3
           Version: 1.3.27
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: mod_vhost_alias
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: daryl@timesliceinc.com


I am using Apache 1.3.27 on Dell PowerEdge 1650 server running Redhat 7.3 with 
apache-1.3.27-2.src.rpm.  I have modified my httpd.conf to allow for IP based 
virtual domains. 

There a Document Root directive defined in the Server config section as
DocumentRoot "/home/sites/site2/web"

My VirtualHost Directive looks like this, in part:
<VirtualHost some.ip.address>
ServerAdmin bpeeps
DocumentRoot /home/sites/site2/web
...some other code here...
</VirtualHost>

Each time I attempt to point browser to IP or virtual site name, the server 
tries to serve files located at /home/sites/home/web

Therefore, essentially it is ignoring the Document Root directive listed within 
the <VirtualHost>  Tag

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org