Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 66220 invoked from network); 12 Oct 2006 16:56:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Oct 2006 16:56:00 -0000 Received: (qmail 25782 invoked by uid 500); 12 Oct 2006 16:55:55 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 25739 invoked by uid 500); 12 Oct 2006 16:55:55 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 25728 invoked by uid 99); 12 Oct 2006 16:55:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Oct 2006 09:55:55 -0700 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [66.163.179.149] (HELO web35610.mail.mud.yahoo.com) (66.163.179.149) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 12 Oct 2006 09:55:53 -0700 Received: (qmail 69548 invoked by uid 60001); 12 Oct 2006 16:55:32 -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=1jdQx5sHNOfPD6+cU/C+Ft6+Gl/Yht2yhLD2hAzfit+td9lZRsQ2EwSvR/a7HYKtWLvvRHzPIS7ukgoqz4mRNyqzk3hhZ1wAhC9KNH84OVfKsHCJwJdQ1DprwR4RIV03gqpDOfcrG64RGwvybhBh67wxoBCgYZzLZfq/6tMUm/g= ; Message-ID: <20061012165532.69546.qmail@web35610.mail.mud.yahoo.com> Received: from [199.233.178.253] by web35610.mail.mud.yahoo.com via HTTP; Thu, 12 Oct 2006 09:55:32 PDT Date: Thu, 12 Oct 2006 09:55:32 -0700 (PDT) From: Jon Wilmoth Subject: Fw: v5.5.x default context support outside of server.xml To: dev@tomcat.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=ascii Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Below is the response I got from the user list after inquiring about how to= specify the default context for a given host in v5.5.x. If this is indeed= the correct way to specify the default context for a host in v 5.5.x, coul= d I request that one of the following be done (in order of personal prefere= nce).=0A=0A1) have tomcat respect the value of the "path" context attribute= regardless of where the context is defined (inside server.xml or in myweba= ppcontext.xml)=0A=0A2) add an attribute to host element allowing explicit d= eclaration of the default context's path.=0A=0A3) Add a section to the docu= mentation that outlines the procedure for defining the default context/host= when the context is defined inside and outside server.xml (existing docs o= nly work for when context is defined in server.xml).=0A=0AThanks,=0AJon=0A= =0A=0A----- Forwarded Message ----=0AFrom: "Caldarale, Charles R" =0ATo: Tomcat Users List =0ASen= t: Thursday, October 12, 2006 9:06:00 AM=0ASubject: RE: v5.5.x default cont= ext support outside of server.xml=0A=0A=0A> From: Jon Wilmoth [mailto:jonwi= lmoth@yahoo.com] =0A> Subject: v5.5.x default context support outside of se= rver.xml=0A> =0A> There seems to be some conflict between different section= s=0A> of the context config documentation that leads me to believe=0A> it's= not possible to specify a default virtual host's context=0A> with an empty= string "path" attribute for a context.=0A=0AThe doc is a bit obtuse in thi= s area, since it wasn't fully revised from=0Aprevious levels. To specify t= he default app, you must first delete the=0Aexisting webapps/ROOT directory= , then install your app in webapps/ROOT=0A(or webapps/ROOT.war) or put your= element in=0Aconf/[engine]/[host]/ROOT.xml.=0A=0A- Chuck=0A=0A= =0ATHIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY= =0AMATERIAL and is thus for use only by the intended recipient. If you=0Are= ceived this in error, please contact the sender and delete the e-mail=0Aand= its attachments from all computers.=0A=0A---------------------------------= ------------------------------------=0ATo start a new topic, e-mail: users@= tomcat.apache.org=0ATo unsubscribe, e-mail: users-unsubscribe@tomcat.apache= .org=0AFor additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org