Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 45837 invoked from network); 2 Sep 2008 18:34:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Sep 2008 18:34:39 -0000 Received: (qmail 42102 invoked by uid 500); 2 Sep 2008 18:34:26 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 42065 invoked by uid 500); 2 Sep 2008 18:34:25 -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 42054 invoked by uid 99); 2 Sep 2008 18:34:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Sep 2008 11:34:25 -0700 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 bhooshanpandit@aol.com designates 64.12.137.11 as permitted sender) Received: from [64.12.137.11] (HELO imo-m19.mx.aol.com) (64.12.137.11) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Sep 2008 18:33:26 +0000 Received: from bhooshanpandit@aol.com by imo-m19.mx.aol.com (mail_out_v38_r10.8.) id w.c32.3900fe37 (37589) for ; Tue, 2 Sep 2008 14:32:51 -0400 (EDT) Received: from mta-cen-v05.sim.aol.com (mta-cen-v05.sim.aol.com [10.64.224.93]) by cia-mb06.mx.aol.com (v121_r2.11) with ESMTP id MAILCIAMB062-92d548bd86d02cb; Tue, 02 Sep 2008 14:32:50 -0400 Received: from CEN2-L08 (cen2-l08.sis.aol.com [10.64.224.72]) by mta-cen-v05.sim.aol.com (Postfix) with ESMTP id 577955FDBB for ; Tue, 2 Sep 2008 14:28:12 -0400 (EDT) References: <7a8abab90809020942y75cceb41g1b8bc72bedcc6d27@mail.gmail.com> <7a8abab90809020950t24faabf6s98a7c737c7999b5a@mail.gmail.com> To: users@tomcat.apache.org Content-Transfer-Encoding: 7bit Subject: Re: case (in)sensitive mime-mapping Date: Tue, 02 Sep 2008 14:34:36 -0400 X-AOL-IP: 123.252.252.37 In-Reply-To: <7a8abab90809020950t24faabf6s98a7c737c7999b5a@mail.gmail.com> X-MB-Message-Source: WebUI MIME-Version: 1.0 From: bhooshanpandit@aol.com X-MB-Message-Type: User Content-Type: text/plain; charset="us-ascii"; format=flowed X-Mailer: AOL Webmail 38575-STANDARD Received: from 123.252.252.37 by CEN2-L08.sis.aol.com (10.64.224.72) with HTTP (WebMailUI); Tue, 02 Sep 2008 14:34:36 -0400 Message-Id: <8CADB41AF9907D8-880-12423@CEN2-L08.sis.aol.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Flag: NO I don't think it is possible, because in tomcat file names are case sensitive so foo.doc is not same as foo.Doc (if u try to access foo.doc as foo.Doc tomcat will return 404). I think - however not sure - the reason for this case sensitive implemenatation is to get rid of security vulnerability where someone might be able to see the source code of a jsp file by accessing it as .Jsp or .JSP -----Original Message----- From: Joel McKee Cooper To: users@tomcat.apache.org Sent: Tue, 2 Sep 2008 10:20 pm Subject: case (in)sensitive mime-mapping The mime-mappings in web.xml look like: doc application/msword Which works fine if your document is named "foo.doc", but fails miserably for "foo.Doc", "foo.DOC", etc. Is there a way to configure Tomcat so that the extensions are case-insensitive? Thanks! -Joel --------------------------------------------------------------------- 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 ________________________________________________________________________ You are invited to Get a Free AOL Email ID. - http://webmail.aol.in --------------------------------------------------------------------- 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