Foros de discusión

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

Devikumar R, modificado hace 11 años.

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

New Member Mensajes: 3 Fecha de incorporación: 17/01/13 Mensajes recientes
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 hace 11 años.

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

New Member Mensajes: 20 Fecha de incorporación: 18/07/06 Mensajes recientes
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 hace 11 años.

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

Liferay Master Mensajes: 501 Fecha de incorporación: 20/12/11 Mensajes recientes
check this
http://www.liferay.com/community/forums/-/message_boards/message/1604963
thumbnail
Priyanka Dhingra, modificado hace 11 años.

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

Liferay Master Mensajes: 501 Fecha de incorporación: 20/12/11 Mensajes recientes
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 hace 11 años.

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

Liferay Master Mensajes: 501 Fecha de incorporación: 20/12/11 Mensajes recientes
broken means??