Fórum

Separating User Public page URL from the home community URl

Jordan Miles, modificado 8 Anos atrás.

Separating User Public page URL from the home community URl

Junior Member Postagens: 27 Data de Entrada: 22/01/15 Postagens Recentes
I'm trying to figure out a way to separate the user public page url from the home community url. Currently, all public pages are under the umbrella of
<url>/web/*, with the main community url being

<url>/web/home-community/*

and the user's public page url being
<url>/web/<liferay_screenname>/home

I've tried changing users.profile.friendly.url=/web/publicpages/${liferay:screenName}/home but there was no change.

I also noticed in web.xml that there was the entry:

<servlet-mapping>
                  <servlet-name>Friendly URL Servlet - Public</servlet-name>
                  <url-pattern>/web/*</url-pattern>
            </servlet-mapping>


Is there a way to add an entry for user's public page? The reason for all of this is that we use CAS to authenticate into the portal, but we want a user's public page to be unauthenticated, so we need a way to differentiate those urls. Can this be done?

Thanks,
Jordan
thumbnail
Samuel Kong, modificado 8 Anos atrás.

RE: Separating User Public page URL from the home community URl

Liferay Legend Postagens: 1902 Data de Entrada: 10/03/08 Postagens Recentes
There's no need to change the URL. The portal will not redirect a user to the CAS authentication page if the user just visits a /web/xxx page. It will only redirect to the CAS authentication page if you have change the permission on the page such that guest no longer have view permission for the page.