It's possible in PrettyFaces apply a host condition for a url-mapping?

Splash Forums PrettyFaces Users It's possible in PrettyFaces apply a host condition for a url-mapping?

This topic contains 1 reply, has 2 voices, and was last updated by  Christian Kaltepoth 6 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17827

    nessa_uepa
    Participant

    Hello,

    I have a only java web project and two domains.

    I want apply url-mapping for each specific domain, like in UrlRewriteFilter:

    <rule>

    <condition name=”host”>www.site1.com.br</condition>

    <name>site1</name>

    <from>^/$</from>

    <to>/site1/paginas/home.jsf</to>

    </rule>

    <rule>

    <condition name=”host”>www.site2.com.br</condition>

    <name>site2</name>

    <from>^/$</from>

    <to>/site2/paginas/home.jsf</to>

    </rule>

    I want use PrettyFaces, because i’ts better with JSF, but i really need this funcionality of UrlRewriteFilter.

    Exists something like this in PrettyFaces?

    Tks

    #20449

    Hostname specific mappings are currently not supported.

    But support for something like this has been already discussed on the list some time ago: (see the third post)

    http://groups.google.com/group/prettyfaces-users/browse_thread/thread/3d39be7916341a89/b8c06b01bcd4b7bd

    If you have any ideas how this could be integrated into PrettyFaces or even want to help with the implementation, please let us know! :-)

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Comments are closed.