Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 91713 invoked from network); 11 Aug 2008 14:42:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Aug 2008 14:42:25 -0000 Received: (qmail 45646 invoked by uid 500); 11 Aug 2008 14:42:14 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 45421 invoked by uid 500); 11 Aug 2008 14:42:13 -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 45410 invoked by uid 99); 11 Aug 2008 14:42:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Aug 2008 07:42:13 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [76.96.62.24] (HELO QMTA02.westchester.pa.mail.comcast.net) (76.96.62.24) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Aug 2008 14:41:15 +0000 Received: from OMTA07.westchester.pa.mail.comcast.net ([76.96.62.59]) by QMTA02.westchester.pa.mail.comcast.net with comcast id 10aD1a00B1GhbT8522hcsz; Mon, 11 Aug 2008 14:41:36 +0000 Received: from [192.168.1.105] ([24.3.140.63]) by OMTA07.westchester.pa.mail.comcast.net with comcast id 12hc1a00x1NFq7L3T2hcGL; Mon, 11 Aug 2008 14:41:36 +0000 X-Authority-Analysis: v=1.0 c=1 a=Jrw6nE4iq-IA:10 a=EKt6_DarAAAA:8 a=Y1JwgW5FAAAA:8 a=0dtRUVTeAAAA:8 a=xe8BsctaAAAA:8 a=BiV9bGcbo1VRoTXHz5oA:9 a=zvM_rXoYCLeffhbB-24A:7 a=iUOTHTZobpZy6vdr38dXW5rO_DwA:4 a=rPt6xJ-oxjAA:10 Message-ID: <48A04FA1.5010304@christopherschultz.net> Date: Mon, 11 Aug 2008 10:41:37 -0400 From: Christopher Schultz User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: how to make context path case insensitive References: <920d256f0808110301y4f6a4ab5g760acec34e6f4449@mail.gmail.com> <6715CF65287F8F408DA109EC03AC6C0D03E20EDE71@puma.melandra.net> <920d256f0808110327p76f5a474t4d4c92972353c757@mail.gmail.com> In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Pierre, Pierre Goupil wrote: | If what you need is to redirect any request to | http://www.yoursite.com/yOuRwEbapP (yourwebapp being case insensitive) to | http://www.yoursite.com/yourwebapp (yourwebapp being case sensitive and | being the context path to which you have deployed your app to), what you | need is a servlet filter. Note that what is called "the context path" is | only the "yourwebapp" part, the "www.yoursite.com" is not a part of it, | strictly speaking. Oh, that's a MUCH better idea than mine (to deploy all combinations of case as redirector apps). The trick is that you must deploy this filter into the ROOT application specifically. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkigT6EACgkQ9CaO5/Lv0PDAIwCeKkoAnrLhvx38Ju8ee6Jz8A4H EVgAnAoUV9pZ50yB/sA/yMffgYd20Cu6 =me8E -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org