Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 60927 invoked from network); 3 Aug 2009 16:10:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Aug 2009 16:10:46 -0000 Received: (qmail 43506 invoked by uid 500); 3 Aug 2009 16:10:47 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 43450 invoked by uid 500); 3 Aug 2009 16:10:47 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 43439 invoked by uid 99); 3 Aug 2009 16:10:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 16:10:47 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aw@ice-sa.com designates 212.85.38.228 as permitted sender) Received: from [212.85.38.228] (HELO tor.combios.es) (212.85.38.228) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 16:10:37 +0000 Received: from localhost (localhost [127.0.0.1]) by tor.combios.es (Postfix) with ESMTP id 74006226073 for ; Mon, 3 Aug 2009 18:10:15 +0200 (CEST) Received: from tor.combios.es ([127.0.0.1]) by localhost (tor.combios.es [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ibpa5Dx78Uw0 for ; Mon, 3 Aug 2009 18:10:15 +0200 (CEST) Received: from [192.168.245.129] (p549EB4EC.dip0.t-ipconnect.de [84.158.180.236]) by tor.combios.es (Postfix) with ESMTPA id 1E7F5226071 for ; Mon, 3 Aug 2009 18:10:15 +0200 (CEST) Message-ID: <4A770BBA.2060302@ice-sa.com> Date: Mon, 03 Aug 2009 18:09:30 +0200 From: =?ISO-8859-1?Q?Andr=E9_Warnier?= Reply-To: Tomcat Users List User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Trouble setting up virtual host References: <637520.64515.qm@web56605.mail.re3.yahoo.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Lisa D Beggs/AC/VCU wrote: > I guess nobody is willing to help me any further on the below? Just because you're called Lisa then... Because, as Hassan mentioned, you already got all the answers. There are 2 ways to do what you want. And in both cases, your directory structure will change somewhat. That's how it is, no way around it. #1 consists of renaming the existing ROOT application to something else, and then rename your application to ROOT. This does not change the directory structure below whatever is the top directory of your application. It just changes the top directory name of your application. In other words, suppose you currently have (tomcat installation directory)/webapps/ROOT/* and (tomcat installation directory)/webapps/YourApp/* then "ROOT" should be renamed to "XYZ", and then "YourApp" should be renamed to ROOT. That's it. Except that you should stop Tomcat before you do that, and restart Tomcat when it's done. #2 solution consists of using Virtual Hosts. You already have one, although you probably don't know that. It is represented by the single ... section in your server.xml. The trick consists of creating a second one, very similar but with some attributes changed in it. But anyway, in that case, you will have to move your application, which is currently in (tomcat installation directory)/webapps/YourApp/* somewhere else. So which one do you prefer ? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org