Re: rewrite trailing slash and 3.3.0 snapshot

Splash Forums PrettyFaces Users rewrite trailing slash and 3.3.0 snapshot Re: rewrite trailing slash and 3.3.0 snapshot

#20975

I think the problem has something to do with your pattern:

<rewrite match="^/admin/.*.xhtml$" substitute="/admin/pageNotFound.xhtml" redirect="chain"/>

It looks like your substitute is also matched by the pattern of the rule. If the pattern matches the first time the request will be rewritten and forwarded. But then the forwarded request matches another time, so it is forwarded again. And so on and so on.

You should either change your pattern or substitute to get our of this endless loop.