Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 52807 invoked from network); 16 Sep 2005 18:44:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Sep 2005 18:44:19 -0000 Received: (qmail 32301 invoked by uid 500); 16 Sep 2005 18:44:02 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 32279 invoked by uid 500); 16 Sep 2005 18:44:01 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: 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 32266 invoked by uid 99); 16 Sep 2005 18:44:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Sep 2005 11:44:01 -0700 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [206.190.38.232] (HELO web51801.mail.yahoo.com) (206.190.38.232) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 16 Sep 2005 11:44:11 -0700 Received: (qmail 91003 invoked by uid 60001); 16 Sep 2005 18:43:57 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=tWJp6TK2Qzk/5CAoqjMs31fZ1USqfchJWrwuEHnuvVWJYeaWq84gZbeneD/Znh/nIXm8IqD6zVsQnxkolNblwlhIOlRnLY4oadxzM+y4gvtIwJF2RXFzKwYSITxA2YbDdbdpqqWlgug9bg7mGUbAscXt1mnDL6nUTXj8I7O8/zw= ; Message-ID: <20050916184357.91001.qmail@web51801.mail.yahoo.com> Received: from [38.117.246.2] by web51801.mail.yahoo.com via HTTP; Fri, 16 Sep 2005 11:43:57 PDT Date: Fri, 16 Sep 2005 11:43:57 -0700 (PDT) From: Dola Woolfe Subject: Help figuring out Virtual Hosts To: Tom Cat MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I've certainly RTFM'd and had thoroughly read http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/host.html#Host%20Name%20Aliases but I just can't figure out how to get virtual servers to work. Basically, assume that DNS is set up properly and that ServerA.com ServerB.com and Server.com resolve to the same IP. Now, I want ServerA.com to "go to" Server.com/MyAppA/index.jsp and ServerB.com to "go to" Server.com/MyAppB/index.jsp. This, in my mind is sort of like how Apache lets you do it, where of course it takes advantage of the convention of index.html being the default destination. OK, how do I achieve this with Tomcat? Could anyone please provide a specific example? Many thanks, Dola __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org