Forums de discussion

Open Staging Page-Path as Guest User - infinity redirect

Cyber Katze, modifié il y a 8 années.

Open Staging Page-Path as Guest User - infinity redirect

thumbnail
David H Nebinger, modifié il y a 8 années.

RE: Open Staging Page-Path as Guest User - infinity redirect

Liferay Legend Publications: 14919 Date d'inscription: 02/09/06 Publications récentes
The page exists, you just have to log in to see it. So it doesn't fall under "page-not-found".
Cyber Katze, modifié il y a 8 années.

RE: Open Staging Page-Path as Guest User - infinity redirect

thumbnail
David H Nebinger, modifié il y a 8 années.

RE: Open Staging Page-Path as Guest User - infinity redirect

Liferay Legend Publications: 14919 Date d'inscription: 02/09/06 Publications récentes
if you try to go to a page like /web/staging/icantbelivethisdoesntexist, you should get a 404 because the page doesn't exist.

If you try to go to a page like /web/staging/home, well that is a valid page that you just need to authenticate to see.

Liferay does this for all protected resources; if you're a guest and try to hit something that requires authentication, it shows you the login dialog so you can auth and then see the resource. But it certainly doesn't pretend that the resource doesn't exist by returning the 404.
Cyber Katze, modifié il y a 8 années.

RE: Open Staging Page-Path as Guest User - infinity redirect

thumbnail
David H Nebinger, modifié il y a 8 années.

RE: Open Staging Page-Path as Guest User - infinity redirect

Liferay Legend Publications: 14919 Date d'inscription: 02/09/06 Publications récentes
The part I don't get is how the guest gets a link to the staging area in the first place.

Staging is completely isolated; other than the dockbar access after you log in, there are no other links to the staging area.
thumbnail
Juan Gonzalez, modifié il y a 8 années.

RE: Open Staging Page-Path as Guest User - infinity redirect

Liferay Legend Publications: 3089 Date d'inscription: 28/10/08 Publications récentes
It's working fine for me. It seems you aren't telling some important info (portal-ext.properties, if you removed Guest permission from all public pages etc).

Can you provide more info please?
Cyber Katze, modifié il y a 8 années.

RE: Open Staging Page-Path as Guest User - infinity redirect

thumbnail
Juan Gonzalez, modifié il y a 8 années.

RE: Open Staging Page-Path as Guest User - infinity redirect

Liferay Legend Publications: 3089 Date d'inscription: 28/10/08 Publications récentes
Cyber Katze:

maybe problem is here:
#custom login page
auth.login.url=/web/staging/login


It seems so, can you check two things:

* /web/staging/login exists
* /web/staging/login has permission for Guest user.

Thanks.
Cyber Katze, modifié il y a 8 années.

RE: Open Staging Page-Path as Guest User - infinity redirect

thumbnail
Juan Gonzalez, modifié il y a 8 années.

RE: Open Staging Page-Path as Guest User - infinity redirect

Liferay Legend Publications: 3089 Date d'inscription: 28/10/08 Publications récentes
Can you try adding a login portlet in /web/staging/login and retry?
Cyber Katze, modifié il y a 8 années.

RE: Open Staging Page-Path as Guest User - infinity redirect

thumbnail
Juan Gonzalez, modifié il y a 8 années.

RE: Open Staging Page-Path as Guest User - infinity redirect

Liferay Legend Publications: 3089 Date d'inscription: 28/10/08 Publications récentes
Hmmm in order to isolate problems, can you comment this property:

layout.friendly.url.page.not.found


and restart. Then open a new browser (in order to not have any stored session), then check again and post here the results.

Thanks.
Cyber Katze, modifié il y a 8 années.

RE: Open Staging Page-Path as Guest User - infinity redirect

thumbnail
Juan Gonzalez, modifié il y a 8 années.

RE: Open Staging Page-Path as Guest User - infinity redirect

Liferay Legend Publications: 3089 Date d'inscription: 28/10/08 Publications récentes
Mmm I see you are accessing a host, which is probably located in a non-localhost server.

Can you try setting the properties that starts with "redirect.url"? Probably you want to set:

redirect.url.security.mode=domain


or

redirect.url.ips.allowed=127.0.0.1,SERVER_IP,<your_host_ip></your_host_ip>


Both properties are exclusive. Please do some tests with these and give us feedback.

Thanks.
Cyber Katze, modifié il y a 8 années.

RE: Open Staging Page-Path as Guest User - infinity redirect

thumbnail
Juan Gonzalez, modifié il y a 8 années.

RE: Open Staging Page-Path as Guest User - infinity redirect

Liferay Legend Publications: 3089 Date d'inscription: 28/10/08 Publications récentes
It seems that page needs authentication for some reason. Can you check that page/site permissions?