Fórum

How to change default context root of a liferay portal from /web?

Devikumar R, modificado 11 Anos atrás.

How to change default context root of a liferay portal from /web?

New Member Postagens: 3 Data de Entrada: 17/01/13 Postagens Recentes
Hi,

Greetings!

We have a site with the url - http://localhost:8080/web/login.
We need to replace the /web with /site1.
We have another site and we need the /web to be replaced by /site2.
(Deployed in Jboss EAP Server 6.0)

The urls for the sites should look like below:

http://localhost:8080/site1/login
http://localhost:8080/site2/login

Could anybody kindly help?

Thanks,
Devikumar R
thumbnail
Mehdi norouzi, modificado 11 Anos atrás.

RE: How to change default context root of a liferay portal from /web?

New Member Postagens: 20 Data de Entrada: 18/07/06 Postagens Recentes
Hi
you can set this property company.default.home.url=/web/guest whit proper value you want in portal-ext.properties.
I hope this will help you.
thumbnail
Priyanka Dhingra, modificado 11 Anos atrás.

RE: How to change default context root of a liferay portal from /web?

Liferay Master Postagens: 501 Data de Entrada: 20/12/11 Postagens Recentes
check this
http://www.liferay.com/community/forums/-/message_boards/message/1604963
thumbnail
Priyanka Dhingra, modificado 11 Anos atrás.

RE: How to change default context root of a liferay portal from /web?

Liferay Master Postagens: 501 Data de Entrada: 20/12/11 Postagens Recentes
In that link...
there is a post that specifies

layout.friendly.url.public.servlet.mapping=/web (portal-ext.properties)
you can change this
thumbnail
Priyanka Dhingra, modificado 11 Anos atrás.

RE: How to change default context root of a liferay portal from /web?

Liferay Master Postagens: 501 Data de Entrada: 20/12/11 Postagens Recentes
broken means??