掲示板

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

11年前 に Devikumar R によって更新されました。

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

New Member 投稿: 3 参加年月日: 13/01/17 最新の投稿
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
11年前 に Mehdi norouzi によって更新されました。

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

New Member 投稿: 20 参加年月日: 06/07/18 最新の投稿
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
11年前 に Priyanka Dhingra によって更新されました。

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

Liferay Master 投稿: 501 参加年月日: 11/12/20 最新の投稿
check this
http://www.liferay.com/community/forums/-/message_boards/message/1604963
thumbnail
11年前 に Priyanka Dhingra によって更新されました。

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

Liferay Master 投稿: 501 参加年月日: 11/12/20 最新の投稿
In that link...
there is a post that specifies

layout.friendly.url.public.servlet.mapping=/web (portal-ext.properties)
you can change this
thumbnail
11年前 に Priyanka Dhingra によって更新されました。

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

Liferay Master 投稿: 501 参加年月日: 11/12/20 最新の投稿
broken means??