Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 68481 invoked from network); 2 Oct 2003 20:07:17 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 Oct 2003 20:07:17 -0000 Received: (qmail 12774 invoked by uid 500); 2 Oct 2003 20:06:44 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 12678 invoked by uid 500); 2 Oct 2003 20:06: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 12664 invoked from network); 2 Oct 2003 20:06:43 -0000 Received: from unknown (HELO mta01.btfusion.com) (62.172.195.11) by daedalus.apache.org with SMTP; 2 Oct 2003 20:06:43 -0000 Received: from [213.120.114.94] (helo=nsis1) by mta01.btfusion.com with smtp (Exim 4.24) id 1A59iq-0007cU-Ae for tomcat-user@jakarta.apache.org; Thu, 02 Oct 2003 21:06:48 +0100 Message-ID: <023b01c38920$c59c9d00$0200a8c0@nsis1> From: "John Bell" To: "Tomcat Users List" References: <006d01c387fa$c2393a50$5e7278d5@nsis1> <4868.66.75.241.88.1065027390.squirrel@www.greenhydrant.com> <001c01c3884e$4a16f130$0200a8c0@nsis1> <3507.208.48.139.163.1065037854.squirrel@www.greenhydrant.com> <00d501c388ef$2fd5d510$0200a8c0@nsis1> <3521.66.75.241.88.1065109372.squirrel@www.greenhydrant.com> <014a01c3890b$45380290$0200a8c0@nsis1> <3190.208.48.139.163.1065120119.squirrel@www.greenhydrant.com> Subject: Re: Apache 2 Tomcat4.1.27 name based virtual hosts Date: Thu, 2 Oct 2003 21:07:14 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thanks for your help. >I am still confused. By "is not found" what exactly is happenning? Me too. How about a coffee? www.capucino.co.uk is run instead of www.freshlyroastcoffee.biz. If you run www.freshlyroastcoffee.biz and hover over a link you get http://213.120.114.94/coffeemy/jsp/control/prodinfo....... whereas it should be http://www.freshlyroastcoffee.biz/coffeepp/jsp/control/prodinfo.... This is when capucino is the first virtual host ie freshlyroast is not found and is defaulted to capucino. However, when capucino is the second virtual host all works fine. ie freshlyroast works cos it defaults to the first virtual host and for some reason capucino works in second position - whereas in second position freshlyroast does'nt. ----- Original Message ----- From: "David Rees" To: "Tomcat Users List" Sent: Thursday, October 02, 2003 7:41 PM Subject: Re: Apache 2 Tomcat4.1.27 name based virtual hosts > On Thu, October 2, 2003 1at 0:33 am, John Bell sent the following > > Hi Dave, > > > > > > ServerName www.freshlyroastcoffee.biz > > DocumentRoot /coffeepp > > JkMount /* ajp13 > > etc > > > > > > > > ServerName www.capucino.co.uk > > DocumentRoot /coffeemy > > JkMount /* ajp13 > > etc > > > > > > > > With this setup www.freshlyroastcoffee.biz is found so is > > www.capucino.co.uk. > > > > However, if www.capucino.co.uk is the first virtual host then > > www.freshlyroastcoffee.biz is not found > > and it defaults to www.capucino.co.uk - the first default virtual host. > >> > -Dave > > --------------------------------------------------------------------- > 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