Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 9214 invoked from network); 23 Nov 2004 15:28:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 23 Nov 2004 15:28:37 -0000 Received: (qmail 14118 invoked by uid 500); 23 Nov 2004 15:27:44 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 14083 invoked by uid 500); 23 Nov 2004 15:27: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 14038 invoked by uid 99); 23 Nov 2004 15:27:43 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [63.244.250.133] (HELO warhawk.mpi.com) (63.244.250.133) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 23 Nov 2004 07:27:40 -0800 Received: from lightning.mpi.com (lightning [63.244.252.11]) by warhawk.mpi.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id iANFRJBP026141 for ; Tue, 23 Nov 2004 10:27:23 -0500 (EST) Received: from US-VS1.corp.mpi.com (us-be1.corp.mpi.com [63.244.252.30]) by lightning.mpi.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id iANFQjYD014928 for ; Tue, 23 Nov 2004 10:27:15 -0500 (EST) X-MIMEOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Virtual Hosting Questions Date: Tue, 23 Nov 2004 10:24:56 -0500 Message-ID: <9C5166762F311146951505C6790A9CF801FC3976@US-VS1.corp.mpi.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Virtual Hosting Questions Thread-Index: AcTRarRtTkWWFWo8RKOmXvjJjG+mAgABObpw From: "Shapira, Yoav" To: "Tomcat Users List" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N H= i, >The mapping of domain names to ip's is done (as usual) in the IP stac= k. >Thus, using the /hosts /files on >tomcat client and server boxes works fine for development scenarios >where you do not want to >expose you production domain names to the Internet via DNS. I originally >asked the question >because the tomcat docs only mention DNS as the mapping agent, which >seemed overly specific >to me, unless tomcat had some reason to insist on DNS, which is >apparently not the case. Feel free to submit a doc patch for this issue. >I do not think /just the default name/ is correct. It seems that the >name attribute value must be a name > that the client and server IP stacks can map to an IP address for th= e >configuration to work, which >does have to do with the host name in the browser's URL. Yup, the docs have already been amended for that, now saying that this= must be a network name. >Also, the name 'localhost' seems to be 'magic' in that there is code >triggered by the occurrence of that >particular name. As others on the list have pointed out, a value of= >'localhost' in the >attribute is mapped to 0.0.0.0, so that the host can respond to requests >from any domain. When you or "others" can show me where in the Catalina code "localhost= " is magic or hard-wired, we can work on a better approach together. Yoav Shapira http://www.yoavshapira.com This e-mail, including any attachments, is a confidential business com= munication, and may contain information that is confidential, propriet= ary and/or privileged. This e-mail is intended only for the individua= l(s) to whom it is addressed, and may not be saved, copied, printed, d= isclosed or used by anyone else. If you are not the(an) intended reci= pient, please immediately delete this e-mail from your computer system= and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org