Date: Tue, 29 Jun 1999 10:29:06 -0500 (CDT) From: Jason Hudgins <thanatos@eddie.incantations.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: weird Apache 1.3.6 problem Message-ID: <Pine.BSF.3.96.990629102721.1336A-100000@eddie.incantations.net> In-Reply-To: <199906291504.LAA22977@easeway.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Put in a line that reads NameVirtualHost 209.69.10.82 above your <VirtualHost> directive... Example, mine looks like this------------ NameVirtualHost 204.180.122.38 <VirtualHost 204.180.122.38> ServerAdmin thanatos@incantations.net DocumentRoot /usr/local/apache/htdocs ServerName www.incantations.net ErrorLog logs/incantations.net-error_log TransferLog logs/incantations.net-access_log </VirtualHost> > We need to support several virtual hosts on this machine, each with a > unique IP. > > When I add additional vhosts, I get this error for each one. The only > entries where virtual hosts are mentioned are: > > ralph/usr/local/etc/apache;grep -v # httpd.conf | grep -i virtual > <VirtualHost 209.69.10.82> > </VirtualHost> > ralph/usr/local/etc/apache; > > I've stripped down the httpd.conf to a minimum, and it's still giving me > this error. The new httpd.conf is attached for anyone on -questions who > wants to see it; I've removed the commented lines to trim it down to a > reasonable size. > > Thanks, > ==ml > > > would use the virtual host directive if you had multiple qualified > > domain names on the same ip address. Just comment out the virtualhost > > line in httpd.conf. > > > > > -----Original Message----- > > > From: owner-freebsd-questions@FreeBSD.ORG > > > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of > > > mwlucas@exceptionet.com > > > Sent: Tuesday, June 29, 1999 10:25 AM > > > To: freebsd-questions@FreeBSD.ORG > > > Subject: weird Apache 1.3.6 problem > > > > > > > > > Hello, > > > > > > Well, I put my first FreeBSD 3-stable box in production last > > > week. Most > > > of the problems are ironed out, except this. > > > > > > Whenever I start Apache, I get the following error: > > > > > > ralph/var/log;apachectl stop && apachectl startfp > > > /usr/local/sbin/apachectl stop: httpd stopped > > > [Tue Jun 29 10:35:12 1999] [warn] VirtualHost 209.69.10.82:80 overlaps > > > with VirtualHost 209.69.10.82:80, the first has precedence, > > > perhaps you > > > need a NameVirtualHost directive > > > [Tue Jun 29 10:35:12 1999] [warn] VirtualHost 209.69.10.82:80 overlaps > > > with VirtualHost 209.69.10.82:80, the first has precedence, > > > perhaps you > > > need a NameVirtualHost directive > > > /usr/local/sbin/apachectl startfp: httpd started > > > > > > The problem is, I only have one VirtualHost directive! > > > There's only one > > > site on this machine at the moment. It's IP-based. > > > > > > I've been through the FreeBSD archives and the Apache > > > archives, and don't > > > see anyone else reporting this problem. > > > > > > It's apache_fp-1.3.6 on FreeBSD 3.2-stable. > > > > > > Any help appreciated! > > > > > > Thanks, > > > ==ml > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-questions" in the body of the message > > > > > > > > -- > Michael Lucas | > Exceptionet, Inc. | www.exceptionet.com > "Exceptional Networking" | > Jason Hudgins http://www.incantations.net/~thanatos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990629102721.1336A-100000>