From owner-freebsd-questions Wed Apr 12 14:16:54 2000 Delivered-To: freebsd-questions@freebsd.org Received: from octans.php.eclipse.net.uk (octans.php.eclipse.net.uk [212.104.129.222]) by hub.freebsd.org (Postfix) with ESMTP id 545C137BC33; Wed, 12 Apr 2000 14:16:48 -0700 (PDT) (envelope-from sh@octarine.org) Received: by octans.php.eclipse.net.uk (Postfix, from userid 65534) id 46EFC4FA14; Wed, 12 Apr 2000 22:16:27 +0000 (GMT) To: James Wyatt Subject: Re: How many Virtual Hosts? Message-ID: <955577787.38f4f5bb2a45c@webmail.octarine.org> Date: Wed, 12 Apr 2000 23:16:27 +0100 From: Stuart Henderson Cc: Stuart Henderson , Mitch Vincent , "Lester A. Mesa" , , References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.0-cvs X-Complaints-To: abuse@eclipse.net.uk X-Trace: webmail.octarine.org/212.104.144.123 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Quoting James Wyatt : > You don't *have* to bind each virtual > host under Apache, it's just that > some browsers and crawlers don't like > it. - Jy@ It's not necessary to bind to each virtual interface individually, you can bind to 0.0.0.0 and look at the request to see the destination IP (as opposed to software virtual hosting using the Host: header). The worst problems with using the Host: header for mass hosting are related to errors in some IE versions. I've seen a few requests with the domain name missing a few components from the end (www.foo rather than www.foo.co.uk), and also it appears that in some cases, HTTP redirection causes it to send the original hostname rather than the new hostname specified in the Location: header (this happens with some search engines: actually I think it maybe dependent on the HTTP result code sent with the redirect). Also as you say some crawlers don't supply Host:, though this situation is improving. There are good open-source alternatives to Apache, however it's common for them to specialize. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message