From owner-freebsd-questions Fri Jun 9 7:35:24 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.wmptl.com (mail2.wmptl.com [216.221.73.131]) by hub.freebsd.org (Postfix) with ESMTP id AB18137C1DA for ; Fri, 9 Jun 2000 07:35:20 -0700 (PDT) (envelope-from webmaster@wmptl.com) Received: from wmptl.com ([10.0.0.168]) by mail2.wmptl.com (8.9.3/8.9.3) with ESMTP id KAA95021 for ; Fri, 9 Jun 2000 10:45:52 -0400 (EDT) (envelope-from webmaster@wmptl.com) Message-ID: <39410086.C080D373@wmptl.com> Date: Fri, 09 Jun 2000 10:34:46 -0400 From: Nathan Vidican Reply-To: webmaster@wmptl.com X-Mailer: Mozilla 4.72 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: questions@freebsd.org Subject: Re: Apache and virtual hosts Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Paisios Gatsos wrote: > > Hello everybody. > > I need some help for Apache. I have installed version 1.3.6 of Apache Web > Server in my computer. My question is this: > Let's assume that i have a main host with ip number 127.0.0.1. > Can i have a virtual host with the same ip? > If yes, what directives the should contain? > > Thanks. > ________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message Are you asking how to do VirtualHosts from ONE ip, or how to do virtualhosts to multiple? if singular, you'd need something like this: NameVirtualHosts xxx.xxx.xxx.1 DocumentRoot "/wherever" ServerName www.somesite.com DocumentRoot "/whatever" ServerName www.someothersite.com if doing multiple ip virtualhosts, you'd only need: ... -- Nathan Vidican webmaster@wmptl.com Windsor Match Plate & Tool Ltd. http://www.wmptl.com/ P.S. - my mistake, made a typo when I cc'd questions@freebsd.org last time; this message was sent as a reply to it's origional author. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message