Fórum

Different settings for different portal instances

thumbnail
Sebastian Sommerfeld, modificado 9 Anos atrás.

Different settings for different portal instances

Junior Member Postagens: 40 Data de Entrada: 06/12/10 Postagens Recentes
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
thumbnail
David H Nebinger, modificado 9 Anos atrás.

RE: Different settings for different portal instances

Liferay Legend Postagens: 14916 Data de Entrada: 02/09/06 Postagens Recentes
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.
thumbnail
Sebastian Sommerfeld, modificado 9 Anos atrás.

RE: Different settings for different portal instances

Junior Member Postagens: 40 Data de Entrada: 06/12/10 Postagens Recentes
So I won't have a Chance other than using different vhosts?
thumbnail
David H Nebinger, modificado 9 Anos atrás.

RE: Different settings for different portal instances

Liferay Legend Postagens: 14916 Data de Entrada: 02/09/06 Postagens Recentes
Nope, all or nothing emoticon
thumbnail
Sebastian Sommerfeld, modificado 9 Anos atrás.

RE: Different settings for different portal instances

Junior Member Postagens: 40 Data de Entrada: 06/12/10 Postagens Recentes
okay, so i will go with Apache configs. thanks for your help.