Re: URL path parameters from DNS name

Splash Forums PrettyFaces Users URL path parameters from DNS name Re: URL path parameters from DNS name

#22011

Hey Guys,

Yes, Rewrite already supports this type of configuration very well:

https://github.com/ocpsoft/rewrite/blob/master/showcase/multi-domain/src/main/java/com/ocpsoft/rewrite/showcase/domain/DomainRewriteConfiguration.java

Info on how to use rewrite can be found here:

http://ocpsoft.com/rewrite/

I hope this helps!

~Lincoln

PS. If you want to use rewrite AND PrettyFaces, they are compatible, but I recommend using version 4.0.0-SNAPSHOT of PrettyFaces, which also includes Rewrite. This will let you use both PrettyFaces features, and Rewrite features!