httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <>
Subject Mail from NCSA X Mosaic 2.7b5 (fwd)
Date Wed, 18 Dec 1996 22:57:06 GMT

not acked

----- Forwarded message from -----

Date: Wed, 18 Dec 1996 17:37:41 -0500 (EST)
Message-Id: <>
Subject: Mail from NCSA X Mosaic 2.7b5
Content-Type: text/plain
Mime-Version: 1.0
X-Mailer: NCSA Mosaic 2.7b5 on Sun

I would like to report a bug in Apache 1.2b2, running under SunOS 4.1.4.


The DocumentRoot directive is not always processed correctly inside a 
<VirtualHost> section.  These Virtual Hosts have the same IP address, but
different ports.  I have put all of the configuration info in httpd.conf, with
no access or srm.conf file, if that makes any difference.


My configuration file has two <VirtualHost> sections, and I put a
different DocumentRoot in each one.  Most requests would go through fine, but
some would (seemingly randomly) cause an error as follows:

  access to /usr/local/etc/httpd failed: does not exist

Given that this is the default, I assume that something is slightly screwy
about the mechanism for determining which DocumentRoot to use.

What I did to fix it:

I put an extra DocumentRoot directive in, before the first <VirtualHost>
section, copying the one from one of the VirtulHost sections.  This seems to
have eliminated most of the errors, since the set of valid URLs from each of
the two document roots is nearly identical.  

However, I think it likely that occasionally a request to the other Virtual
Host will be looked up in the wrong document root directory.

Previous versions of the server:

This problem seems to have been even worse under Apache 1.1.1.  I could not
get the former version to work at all properly -- both Virtual Hosts insisted
on using the same value of DocumentRoot (and several of the other parameters
as well), not overriding the defaults I had set previously in the configuration

  Michael McClennen
  System Administrator, the Internet Public Library

----- End of forwarded message from -----

Rob Hartill.       Internet Movie Database Ltd.  

View raw message