tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: How can I exclude in <url-pattern> for filters in Tomcat 5.5.20?
Date Mon, 03 Dec 2007 23:48:07 GMT
good question
2 options

implement with resin
http://www.caucho.com/resin-3.0/config/webapp.xtp#filter-mapping

OR
a filter which which parses RegularExpresssions (as with urlrewrite.xml
configuration from tuckey)
http://tuckey.org/urlrewrite/
e.g.
[^.earth]

Anyone else?
M-

----- Original Message -----
From: "kkus" <kk_us@hotmail.com>
To: <users@tomcat.apache.org>
Sent: Monday, December 03, 2007 12:08 PM
Subject: How can I exclude in <url-pattern> for filters in Tomcat 5.5.20?


>
> Hi,
>
> For the following setting in web.xml, if I have a request like /*.earth
how
> can I exclude it from these filters? I don't want to filters to handle
> request from /*.earth. Thanks!
>
> <filter-mapping>
>         <filter-name>rewriteFilter</filter-name>
>         <url-pattern>/*</url-pattern>
>     </filter-mapping>
>     <filter-mapping>
>         <filter-name>sitemesh</filter-name>
>         <url-pattern>/*</url-pattern>
>     </filter-mapping>
> --
> View this message in context:
http://www.nabble.com/How-can-I-exclude-in-%3Curl-pattern%3E-for-filters-in-
Tomcat-5.5.20--tf4937775.html#a14133848
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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
>
>


---------------------------------------------------------------------
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


Mime
View raw message