Splash › Forums › PrettyFaces Users › rewrite domain
This topic contains 1 reply, has 2 voices, and was last updated by Christian Kaltepoth 3 years, 10 months ago.
I’m currently using pretty-faces 3.3 and I’m very satisfied.
I’m using inbound and oubound request.
My ptretty-faces.xml has rules like this one:
<url-mapping id="login" parentId="base">
<pattern value="/login" />
<view-id value="/pages/main/login.jsf" />
… but now I would like to rewrite the domain, like this example:
should be rewritten into
How can I do that?
unfortunately PrettyFaces doesn’t support rewriting the domain name part of the URL.
But you should have a look at Rewrite, with is the successor of PrettyFaces and also supports rewriting of domain names:
Rewrite offers a PrettyFaces compatibility module, which allows you to migrate to Rewrite and keep using your old PrettyFaces configuration.
You must be logged in to reply to this topic.
Comments are closed.
If you find our tools useful, please consider making a donation to help us stay online and building software!