掲示板

Separating User Public page URL from the home community URl

8年前 に Jordan Miles によって更新されました。

Separating User Public page URL from the home community URl

Junior Member 投稿: 27 参加年月日: 15/01/22 最新の投稿
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
8年前 に Samuel Kong によって更新されました。

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

Liferay Legend 投稿: 1902 参加年月日: 08/03/10 最新の投稿
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.