Re: http://domain.com/{username} Short URLs or catchall (Facebook-style)

Splash Forums PrettyFaces Users http://domain.com/{username} Short URLs or catchall (Facebook-style) Re: http://domain.com/{username} Short URLs or catchall (Facebook-style)

#21962

Ah, well that should work with PrettyFaces as well, but yes, this most definitely works in Rewrite :)

https://github.com/ocpsoft/socialpm/blob/master/web/src/main/java/com/ocpsoft/socialpm/rewrite/AccessRewriteConfiguration.java

And…

https://github.com/ocpsoft/socialpm/blob/master/web/src/main/java/com/ocpsoft/socialpm/rewrite/ProjectRewriteConfiguration.java

So you can see the order is what matters here, and the usage of the .isRequest() condition.

This is a fairly complex example, but it shows that it works, and generally how to use many features.

~Lincoln