掲示板

Wrong redirect when clicking the site link of the dockbar

7年前 に Fernando Cabrera によって更新されました。

Wrong redirect when clicking the site link of the dockbar

Junior Member 投稿: 47 参加年月日: 14/08/01 最新の投稿
Hello

To access to my portal, I use the URL https://mydomain/web/mysite but that is not Liferay!it goes to another system that is the responsible of the user authentication, if user credentials are valid it redirects to Liferay with the URL https://mydomain/group/mysite/first-private-page and because it is attempting to access to a private page the login portlet appears and programmatically the form is filled and submitted. That is the way the user is authenticated and at this point the user is on the first private page.

The problem occurs when the user selects public pages in My Sites menu, request URL is like this:

https://mydomain/group/mysite/first-private-page?p_p_auth=UlCspCfO&p_p_id=49&p_p_lifecycle=1&p_p_state=normal&p_p_mode=view&_49_struts_action=%2Fmy_sites%2Fview&_49_groupId=23929&_49_privateLayout=false

But the response is a 302-Moved Temporarily HTML error code and has a header "Location" with the value:

http://172.16.168.10/web/mysite/first-public-page

And then a new request to that URL is fired but it is when after some seconds the browser display an error page.

Additional information:
  • There is an Apache server before the application server (GlassFish)
  • The rest of the navigation links works good

Please help me with any clue about what is happening, if I need to provide more information just comment it and I will replay.

Thank you.