You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Thies Edeling <th...@rrm.net> on 1998/03/27 18:01:49 UTC

config/2008: DocumentRoot in takes over the ServerRoot (which is both in srm.conf and httpd.conf).

>Number:         2008
>Category:       config
>Synopsis:       DocumentRoot in <VirtualHost> takes over the ServerRoot (which is both in srm.conf and httpd.conf).
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Mar 27 09:10:00 PST 1998
>Last-Modified:
>Originator:     thies@rrm.net
>Organization:
apache
>Release:        1.3b5
>Environment:
FreeBSD raw.webguide.nl 2.2.2-RELEASE FreeBSD 2.2.2-RELEASE #0: Wed Nov 26 12:59:56 CET 1997  /i386
gcc version 2.7.2.1
>Description:
All sites point to the DocumentRoot as setted in the last <VirtualHost>

My httpd.conf is like this:


<VirtualHost wow.rrm.net>
Servername wow.rrm.net
DocumentRoot /home/rrm/wow
</VirtualHost>

Listen 195.109.88.64:80

ServerAlias www.rrm.net

in srm.conf the DocumentRoot is setted to the general DocumentRoot.

Summarizing:
wow.rrm.net is a CNAME for rrm.net
wow.rrm.net should point to directory ~rrm/wow, as setted in the VirtualHost directive
rrm.net should point to directory ~rrm/www as setted as the main DocumentRoot directive
rrm.net now goes to wow.rrm.net
>How-To-Repeat:
Faulty config not running right now
>Fix:
no idea :%2
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]