You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ro...@imdb.com> on 1996/07/03 00:37:02 UTC

WWW Form Bug Report: "two IP address, one net-interface, two httpd with diff doc roots, second httpd doc root not recognized" on (fwd)

not acked



Message-Id: <19...@taz.hyperreal.com>
From: temerson@asu.edu
To: apache-bugs%apache.org@organic.com
Date: Tue Jul  2 15:35:09 1996
Subject: WWW Form Bug Report: "two IP address, one net-interface, two httpd with diff doc roots, second httpd doc root not recognized" on FreeBSD

Submitter: temerson@asu.edu
Operating system: FreeBSD, version: 2.0.5
Version of Apache Used: 1.0.5
Extra Modules used: 
URL exhibiting problem: 

Symptoms:
--
I'm starting httpd twice,
each time with a different 
httpd.conf, srm.conf, access.conf file set.

DocumentRoot is different for each.
BindAddress is different for each
(neither is an *)

The first instance of httpd works without error.
The second instance of httpd, this one configured to
respond to a "virtual" inet interface, does
not serve documents from it's DocumentRoot, rather
it serves documents from the first instance of 
httpd's doc tree.

My first guess and suspicion is that FreeBSD v2.0.5
is not correctly passing something through the second
httpd.  Is this possible?
--

Backtrace:
--

--
----- End of forwarded message from temerson@asu.edu -----

-- 
Rob Hartill (robh@imdb.com)
The Internet Movie Database (IMDb)  http://www.imdb.com/
           ...more movie info than you can poke a stick at.

WWW Form Bug Report: "two IP address, one net-interface, two httpd with diff doc roots, second httpd doc root not recognized" on (fwd)

Posted by Paul Richards <p....@elsevier.co.uk>.
Rob Hartill writes:
 > 
 > DocumentRoot is different for each.
 > BindAddress is different for each
 > (neither is an *)

Can we have a look at your config files and the commands you use
to initialise the network interface.

 > The first instance of httpd works without error.
 > The second instance of httpd, this one configured to
 > respond to a "virtual" inet interface, does
 > not serve documents from it's DocumentRoot, rather
 > it serves documents from the first instance of 
 > httpd's doc tree.

If you do a netstat you should be able to see which address the daemon is
listening on, just as a sanity check.

 > 
 > My first guess and suspicion is that FreeBSD v2.0.5
 > is not correctly passing something through the second
 > httpd.  Is this possible?

Unlikely, virtual hosting wouldn't work at all, it's more likely a
configuration error. Then again, it could be :-)