From owner-freebsd-questions Tue Jul 4 15: 4:29 2000 Delivered-To: freebsd-questions@freebsd.org Received: from web2003.mail.yahoo.com (web2003.mail.yahoo.com [128.11.68.203]) by hub.freebsd.org (Postfix) with SMTP id D5D8137BA28 for ; Tue, 4 Jul 2000 15:04:22 -0700 (PDT) (envelope-from jerryr001@yahoo.com) Received: (qmail 9277 invoked by uid 60001); 4 Jul 2000 22:04:18 -0000 Message-ID: <20000704220418.9276.qmail@web2003.mail.yahoo.com> Received: from [209.122.46.221] by web2003.mail.yahoo.com; Tue, 04 Jul 2000 15:04:18 PDT Date: Tue, 4 Jul 2000 15:04:18 -0700 (PDT) From: Jerry Subject: Re: apache virtual hosts To: "Raymundo M. Vega" Cc: freebsd-questions@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sorry - I had just noticed in the error log I'm getting this error for each virtual host entry after the first: VirtualHost MY.SINGLE.IP.ADDRESS:80 overlaps with VirtualHost MY.SINGLE.IP.ADDRESS:80, the first has precedence, perhaps you need a NameVirtualHost directive --- "Raymundo M. Vega" wrote: > Jerry wrote: > > > > I rencently setup a FreeBSD server and I'm having > a > > problem setting-up virtual hosts with apache > 1.3.12. > > > > I have a single IP address which I'm trying to run > > multiple domains from. > > > > my virtual host entries look like this: > > > > NameVirtualHost MY.SINGLE.IP.ADDRESS:80 > > > > > > ServerAdmin webmaster@1QUALIFIED.DOMAIN.COM > > DocumentRoot /home/USERNAME/public_html > > ServerName 1QUALIFIED.DOMAIN.COM > > TransferLog /var/log/webs/access_log > > ErrorLog /var/log/webs/error_log > > > > > > > > ServerAdmin webmatser@2QUALIFIED.DOMAIN.COM > > DocumentRoot /home/USERNAME/public_html > > ServerName 2QUALIFIED.DOMAIN.COM > > TransferLog /var/log/webs/access_log > > ErrorLog /var/log/webs/error_log > > > > > > I have the DocumentRoot set above in what apache > calls > > section 2 or the main area to another directory. > > > > In section 1 I have: > > #Listen 3000 > > #Listen MY.SINGLE.IP.ADDRSS > > > > BindAddress MY.SINGLE.IP.ADDRSS > > > > When I try to access any of the domains it > defaults to > > the first virtual host entry. What is causing > this? > > I've read ove the apache virtual host information > over > > and over and can't seem to find what I'm doing > wrong. > > Any help would be great thanks! > > > > (Sorry if this is the wrong list to post, I > couldn't > > find an apache question list). > > How is DNS set up?? > > raymundo > > > > __________________________________________________ > > Do You Yahoo!? > > Kick off your party with Yahoo! Invites. > > http://invites.yahoo.com/ > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body > of the message __________________________________________________ Do You Yahoo!? Kick off your party with Yahoo! Invites. http://invites.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message