Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 30709 invoked from network); 4 Feb 2003 20:59:07 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 4 Feb 2003 20:59:07 -0000 Received: (qmail 14290 invoked by uid 97); 4 Feb 2003 21:00:38 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 14282 invoked from network); 4 Feb 2003 21:00:37 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 4 Feb 2003 21:00:37 -0000 Received: (qmail 29052 invoked by uid 500); 4 Feb 2003 20:58:43 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 29041 invoked from network); 4 Feb 2003 20:58:43 -0000 Received: from daydream.stanford.edu (171.65.60.156) by daedalus.apache.org with SMTP; 4 Feb 2003 20:58:43 -0000 Received: from daydream.stanford.edu (daydream.stanford.edu [171.65.60.156]) by daydream.stanford.edu (8.11.6/8.11.6) with ESMTP id h149Rlg11752 for ; Tue, 4 Feb 2003 01:27:47 -0800 Date: Tue, 4 Feb 2003 01:27:47 -0800 (PST) From: Oscar Carrillo To: Tomcat Users List Subject: Re: VirtualHost www.zcompany.com:80 overlaps VirtualHost www.abc.com:80 In-Reply-To: <008e01c2cc7d$a0996160$3ae4d90c@student> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Like I said I'm not an expert on apache configuration, but I have it as my domainname. One of the other messages someone followed up with said it has to be the actual domainname that is going to host the virtual hosts. I'm pretty sure you need to NOT have the asterisk in the line you have. Look below to see the lines I would change. I can't get to it right now, but I'll post my related configuration tonight. Oscar On Tue, 4 Feb 2003, chris schild wrote: > Oscar, per the docs that I used NameVirutalHost is suppose to use the *. > > ----- Original Message ----- > From: "Oscar Carrillo" > To: "Tomcat Users List" > Sent: Monday, February 03, 2003 10:26 AM > Subject: Re: VirtualHost www.zcompany.com:80 overlaps VirtualHost > www.abc.com:80 > > > > I'm not very familiar with Apache configuration, but shouldn't your "*" > > be replaced with the ServerName. I'm not sure what "NameVirtualHost" > > should be set at. I have mine set to the servername of the only servername > > I have. > > > > Oscar > > > > > > On Mon, 3 Feb 2003, chris schild wrote: > > > > > Sorry, here is the error from apache.exe -t > > > > > > VirtualHost www.zcompany.com:80 overlaps with VirtualHost > www.abc.com:80, > > > the first has precedence, perhaps you need a NameVirtualHost directive > > > > > > ----- Original Message ----- > > > > > > From: "Oscar Carrillo" > > > To: "Tomcat Users List" > > > Sent: Monday, February 03, 2003 8:59 AM > > > Subject: Re: VirtualHost www.zcompany.com:80 overlaps VirtualHost > > > www.abc.com:80 > > > > > > > > > > What error? > > > > > > > > Oscar > > > > > > > > On Mon, 3 Feb 2003, tomcat guy wrote: > > > > > > > > > Has anyone come across this warning? Any guesses as to what is > wrong? > > > > > > > > > > Here is the httpd.conf definition: > > > > > > > > > > NameVirtualHost * NameVirtualHost cde.com #assuming cde.com is your dns name > > > > > > > > > > #Edit this > > > > > ServerName cde.com > > > > > ServerAlias www.cde.com > > > > > DocumentRoot /apache/Tomcat4.1/CDE > > > > > JkMount /*.jsp ajp13 > > > > > JkMount /servlet/* ajp13 > > > > > ErrorLog logs/cde.com-error_log > > > > > CustomLog logs/cde.com-access_log common > > > > > > > > > > > > > > > #edit this > > > > > ServerName qv.com > > > > > ServerAlias www.qv.com > > > > > DocumentRoot /apache/Tomcat4.1/QV > > > > > JkMount /*.jsp ajp13 > > > > > JkMount /servlet/* ajp13 > > > > > ErrorLog logs/qv.com-error_log > > > > > CustomLog logs/qv.com-access_log common > > > > > > > > > > > > > > > #edit this > > > > > ServerName abc.com > > > > > ServerAlias www.abc.com > > > > > DocumentRoot /apache/Tomcat4.1/AMW > > > > > JkMount /*.jsp ajp13 > > > > > JkMount /servlet/* ajp13 > > > > > ErrorLog logs/abc.com-error_log > > > > > CustomLog logs/abc.com-access_log common > > > > > > > > > > > > > > > > > > > > # > > > > > JkWorkersFile "d:\Apache\Tomcat4.1\conf\jk\workers.properties" > > > > > JkLogFile "d:\Apache\Tomcat4.1\logs\mod_jk.log" > > > > > Include d:/Apache/Tomcat4.1/conf/auto/mod_jk.conf > > > > > > > > > > > > > > > everything appears to be working normally but why the error??? > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > > > > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > > > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org