Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Sebastian Sommerfeld
Different settings for different portal instances
August 19, 2014 8:26 AM
Answer

Sebastian Sommerfeld

Rank: Junior Member

Posts: 40

Join Date: December 6, 2010

Recent Posts

Hi guys

I'm having some trouble Setting up my liferay 6.2 installation (running on JBoss) in a way that different portal instances can have a different set of configuration settings. The thing I'm trying is to tell my "content-instance" to serve all contents via https. So I set web.server.protocol=https in portal-ext.properties and configured my Apache virtual host. So far so good, not really difficult.

Now my problem is that I cannot access the default instance (as shipped with every liferay) properly because liferay handels all requests using https but my JBoss is not okay with that. I'd like to avoid changes in my JBoss because I don't wanna affect other applications. I read about different *-ext.properties files for different portal instances. So maybe I can "revert" the default instance "liferay.com" to http or "promote" my content-instance to https. But I don't really know how to set this up.

Can anyone give me a hint?
Thanks in advance and regards
Sebastian
David H Nebinger
RE: Different settings for different portal instances
August 19, 2014 7:39 PM
Answer

David H Nebinger

Community Moderator

Rank: Liferay Legend

Posts: 9466

Join Date: September 1, 2006

Recent Posts

The web.server.protocol setting is portal-wide, not instance-wide.

If your content needs to be https, I'd put that in a separate Liferay instance and let apache vhost direct traffic between the two systems as necessary.
Sebastian Sommerfeld
RE: Different settings for different portal instances
August 19, 2014 11:38 PM
Answer

Sebastian Sommerfeld

Rank: Junior Member

Posts: 40

Join Date: December 6, 2010

Recent Posts

So I won't have a Chance other than using different vhosts?
David H Nebinger
RE: Different settings for different portal instances
August 20, 2014 5:18 AM
Answer

David H Nebinger

Community Moderator

Rank: Liferay Legend

Posts: 9466

Join Date: September 1, 2006

Recent Posts

Nope, all or nothing emoticon
Sebastian Sommerfeld
RE: Different settings for different portal instances
August 26, 2014 1:39 AM
Answer

Sebastian Sommerfeld

Rank: Junior Member

Posts: 40

Join Date: December 6, 2010

Recent Posts

okay, so i will go with Apache configs. thanks for your help.