From owner-freebsd-isp Fri Oct 6 21:52:38 2000 Delivered-To: freebsd-isp@freebsd.org Received: from lynx.aba.net.au (lynx.esec.com.au [203.21.84.1]) by hub.freebsd.org (Postfix) with SMTP id 5BEDF37B502 for ; Fri, 6 Oct 2000 21:52:34 -0700 (PDT) Received: (qmail 20409 invoked from network); 7 Oct 2000 04:52:24 -0000 Received: from melb-dialin07.esec.com.au (HELO esec.com.au) (203.25.253.71) by lynx.esec.com.au with SMTP; 7 Oct 2000 04:52:24 -0000 Message-ID: <39DEAD05.26160FF9@esec.com.au> Date: Sat, 07 Oct 2000 15:56:37 +1100 From: sam wun Organization: eSec Limited X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Terje Oseberg Cc: freebsd-isp@freebsd.org Subject: Re: Apache vhosts question References: Content-Type: multipart/alternative; boundary="------------11AE70ABDC2A0329577850C7" Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --------------11AE70ABDC2A0329577850C7 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit How is your DNS setup? it is a prerequisite. The virtual domain name must appear in your DNS db file, seperately in a zone file or add your vhost name in your domain file. Do a nslookup on your vhost name and post hte result here. Sam. Terje Oseberg wrote: > I am trying to set up name-based virtual hosts on apache 1.3.12. No matter > how many > hosts I enter, apache only displays the first one in the configuration file. > For > example: > Looks to me like you've done everything correct. > > Which version of FreeBSD are you using? > Is your system set up with more than one network interface? > Are you running natd? > Is your kernel configured as a firewall? > -- Sam Wun Firewalls / Security Software Engineer (Snr) Electronic Commerce eSec Limited Phone: +61 3 83715376 (Direct) Mobile: 0403 381 621 mailto:swun@eSec.com.au C++/JAVA/UNIX/OOP/OOD --------------11AE70ABDC2A0329577850C7 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit How is your DNS setup? it is a prerequisite.
The virtual domain name must appear in your DNS db file, seperately in a zone file or add your vhost name in
your domain file. Do a nslookup on your vhost name and post hte result here.

Sam.

Terje Oseberg wrote:

I am trying to set up name-based virtual hosts on apache 1.3.12.  No matter
how many
hosts I enter, apache only displays the first one in the configuration file.
  For
example:
Looks to me like you've done everything correct.

Which version of FreeBSD are you using?
Is your system set up with more than one network interface?
Are you running natd?
Is your kernel configured as a firewall?
 

-- 
Sam Wun                         Firewalls / Security
Software Engineer (Snr)         Electronic Commerce
eSec Limited                    Phone: +61 3 83715376 (Direct)
                                Mobile: 0403 381 621
mailto:swun@eSec.com.au         C++/JAVA/UNIX/OOP/OOD
  --------------11AE70ABDC2A0329577850C7-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message