Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 9491 invoked from network); 8 Jan 2010 20:33:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Jan 2010 20:33:18 -0000 Received: (qmail 28084 invoked by uid 500); 8 Jan 2010 20:33:15 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 28056 invoked by uid 500); 8 Jan 2010 20:33:14 -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 28045 invoked by uid 99); 8 Jan 2010 20:33:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jan 2010 20:33:14 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [76.96.59.211] (HELO QMTA11.westchester.pa.mail.comcast.net) (76.96.59.211) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jan 2010 20:33:03 +0000 Received: from omta13.westchester.pa.mail.comcast.net ([76.96.62.52]) by QMTA11.westchester.pa.mail.comcast.net with comcast id T2nD1d00617dt5G5B8YjLf; Fri, 08 Jan 2010 20:32:43 +0000 Received: from [192.168.1.202] ([98.218.200.175]) by omta13.westchester.pa.mail.comcast.net with comcast id T8Yj1d0063nZbXm3Z8YjAK; Fri, 08 Jan 2010 20:32:43 +0000 Message-ID: <4B479669.3090703@christopherschultz.net> Date: Fri, 08 Jan 2010 15:32:41 -0500 From: Christopher Schultz User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Tomcat Filter Mapping Issue References: <4B4756BD.3060600@pidster.com> <99C8B2929B39C24493377AC7A121E21F9680D10876@USEA-EXCH8.na.uis.unisys.com> In-Reply-To: <99C8B2929B39C24493377AC7A121E21F9680D10876@USEA-EXCH8.na.uis.unisys.com> X-Enigmail-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chuck, On 1/8/2010 2:16 PM, Caldarale, Charles R wrote: > You appear to have placed your webapp named Proofs under the default > 's appBase, and everything works as expected. Not quite, since a webapp called "Proofs" would require a filter-mapped URL like /* to match his filter. Instead, his filter-mapping is for /Proofs/*. If the webapp were deployed as /Proofs, then the URLs would have to be http://localhost/Proofs/Proofs/1/calendar.png in order to match. > To use the webapp > under the appBase of the ft.com , place the Proofs directory (or > .war file) under the declared C:\FilterTest directory: > > C:\FilterTest\ > Proofs\ > WEB-INF\ > lib\ > classes\ > META-INF\ > context.xml > etc. Given the above, I think Pid is right, and Patrick wants to use a ROOT.war under C:\FilterTest >> >> FileAccessFilter >> /Proofs/* >> > > The must not include the context name; it should really be just /*. If the webapp is really called Proofs, then yes, the filter mapping ought to be "/*". - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAktHlmkACgkQ9CaO5/Lv0PA70wCfYUW+sIcsKl+P5bEAijHtoVNW hMMAn3aTtKzujVJK3+uIFYcS3jGr/YH4 =Ci87 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org