I usually filter such folders but I add a rule just tu pass them
through, something like this:
<rule>
<from>^(/portal/.*)$</from>
<to last="true">$1</to>
</rule>
But I don't filter FORWARDed requests.
But that's only in cases when I don't have my servlet container behind
apache. When I do, I don't pass img/css/other static requests to the
container and serve them with apache.
With regards
Ondrej Svetlik
thank you very much,i took your advice,but all images of my website cannot be displayed,why it happen?
Dne 7.7.2009 17:08, snail napsal(a):
> hi,i am a fresh man in urlrewritefilter,can anyone help me to fix my
> problem?thx
>
>
> my web.xml is configured such like
>
> <filter-mapping>
> <filter-name>UrlRewriteFilter</filter-name>
> <url-pattern>/portal/*</url-pattern>
> <dispatcher>REQUEST</dispatcher>
> <dispatcher>FORWARD</dispatcher>
> </filter-mapping>
>
>
> it take effect on all thing that include in portal package,but i
> don't want to filter image,css,etc in portal package,how can i do that
>
>
> thank you very much
>
> best regard!
>