Re: How can handle URL ?

Splash Forums PrettyFaces Users How can handle URL ? Re: How can handle URL ?


Rewriting resources like this would work if you explicitly map individual CSS files this way. But I think this would be too much work.

But you could use a rewrite rule to rewrite multiple files at once. Something like:

<rewrite match="/resources/css/([w-]+).css" substitute="/faces/abc/def/resources/css/$1.css" redirect="chain"/>

This would catch requests like:

and internally forward them to:

Take a look at this chapter of the documentation for details: