Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 79465 invoked from network); 10 Jun 2003 13:24:10 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 10 Jun 2003 13:24:10 -0000 Received: (qmail 6976 invoked by uid 97); 10 Jun 2003 13:26:27 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 6969 invoked from network); 10 Jun 2003 13:26:26 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 10 Jun 2003 13:26:26 -0000 Received: (qmail 77940 invoked by uid 500); 10 Jun 2003 13:23:35 -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 77923 invoked from network); 10 Jun 2003 13:23:35 -0000 Received: from relay05.indigo.ie (194.125.133.229) by daedalus.apache.org with SMTP; 10 Jun 2003 13:23:35 -0000 Received: (qmail 70545 messnum 1248743 invoked from network[213.94.193.34/unknown]); 10 Jun 2003 13:23:35 -0000 Received: from unknown (HELO HOLODECK) (213.94.193.34) by relay05.indigo.ie (qp 70545) with SMTP; 10 Jun 2003 13:23:35 -0000 Message-ID: <00dd01c32f53$e0a051e0$39e1a8c0@HOLODECK> From: "Andoni" To: "Tomcat Users List" References: <20030610115849.80554.qmail@web13902.mail.yahoo.com> Subject: Re: virtual hosts - tomcat 4 Date: Tue, 10 Jun 2003 14:26:15 +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.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello, Tomcat gets a little *confused* when you have hosts at different levels of the same tree. What to do is to change your default ROOT context to webapps/default and add your myapp one to webapps/myapp Then treat these as you would a webapps directory. Don't have one at webapps level and another at webapps/myapp or it will always get mixed up. Andoni. ----- Original Message ----- From: "Fiona" To: "Tomcat Users List" Sent: Tuesday, June 10, 2003 12:58 PM Subject: Re: virtual hosts - tomcat 4 > Thanks, this still brings me to the ROOT though, if i > set the path to "/" as suggested in another reply i > then get a HTTP Status 500 error - No context > configured to process this request. > > Is there anythign else which could override the gost i > specify? > > Thanks! > --- Giorgio Ponza wrote: > > U can try > > > > > appBase="webapps/myapp" > > unpackWARs="true" autoDeploy="true"> > > > > > > > > Giorgio > > > > ----- Original Message ----- > > From: "Fiona" > > To: "Tomcat Users List" > > ; "Jens > > Skripczynski" > > Sent: Tuesday, June 10, 2003 1:42 PM > > Subject: Re: virtual hosts - tomcat 4 > > > > > > > I've tried what you suggested, and my host is now: > > > > > > > appBase="webapps" > > > unpackWARs="true" autoDeploy="true"> > > > > > docBase="E:/jakarta-tomcat-4.1.12/webapps/myapp" > > > debug="0"/> > > > > > > but this still brings me to the ROOT directory. If > > i > > > take out the /myapp from the docBase, then i get > > the > > > directory listing for / (all folders in webapps). > > > > > > I can still get to the page by going to > > > www.myurl.com/myapp but i want to get to it by > > just > > > typing www.myurl.com > > > > > > Thanks again, > > > > > > --- Jens Skripczynski > > > wrote: > > > > Hi, > > > > > > > > I belief your question is, how to link your > > webapp > > > > to '/' > > > > instead of '/webapp'. > > > > > > > > So you need to add an explicit context as > > default > > > > context. > > > > ---- > > > > > docBase="path-to-webapps" > > > > debug="0"/> > > > > ---- > > > > > > > > Fiona: > > > > > I'm using Tomcat 4.1.12 and set up a virtual > > host > > > > in > > > > > my server.xml file. > > > > > > > > > > I want to be able to type the url > > www.myurl.com > > > > and > > > > > this to go to the equivalent of going directly > > to > > > > > localhost:8080/myapp. Currently www.myurl.com > > will > > > > > replace the localhost section, but i still > > have to > > > > put > > > > > the path of myapp after it to get to the page > > i > > > > want, > > > > > i.e. www.myurl.com/myapp works but > > www.myurl.com > > > > does > > > > > not. > > > > > > > > > > Here's the host that i added: > > > > > > > > > > > > > appBase="webapps" > > > > > unpackWARs="true" autoDeploy="true"> > > > > > > > > debug="0" > > > > > reloadable="true" crossContext="true"> > > > > > > > > > > > > > > > > > > Ciao > > > > > > > > Jens Skripczynski > > > > -- > > > > E-Mail: skripi-lists(at)myrealbox(dot)com > > > > > > > > I think there is a world market for about five > > > > computers. > > > > -- Thomas J. > > Watson, > > > > CEO, IBM Corporation, 1947 > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: > > > > tomcat-user-unsubscribe@jakarta.apache.org > > > > For additional commands, e-mail: > > > > tomcat-user-help@jakarta.apache.org > > > > > > > > > > > > > __________________________________ > > > Do you Yahoo!? > > > Yahoo! Calendar - Free online calendar with sync > > to Outlook(TM). > > > http://calendar.yahoo.com > > > > > > > > > --------------------------------------------------------------------- > > > 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 > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Calendar - Free online calendar with sync to Outlook(TM). > http://calendar.yahoo.com > > --------------------------------------------------------------------- > 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