Foren

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

Devikumar R, geändert vor 11 Jahren.

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

New Member Beiträge: 3 Beitrittsdatum: 17.01.13 Neueste Beiträge
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, geändert vor 11 Jahren.

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

New Member Beiträge: 20 Beitrittsdatum: 18.07.06 Neueste Beiträge
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, geändert vor 11 Jahren.

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

Liferay Master Beiträge: 501 Beitrittsdatum: 20.12.11 Neueste Beiträge
check this
http://www.liferay.com/community/forums/-/message_boards/message/1604963
thumbnail
Priyanka Dhingra, geändert vor 11 Jahren.

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

Liferay Master Beiträge: 501 Beitrittsdatum: 20.12.11 Neueste Beiträge
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, geändert vor 11 Jahren.

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

Liferay Master Beiträge: 501 Beitrittsdatum: 20.12.11 Neueste Beiträge
broken means??