Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Renato Coneglian
Single subsite portal-ext.properties
23. Februar 2012 11:25
Antwort

Renato Coneglian

Rang: New Member

Nachrichten: 4

Eintrittsdatum: 23. Februar 2012

Neue Beiträge

Hello guys,

Im with an issue with messageboards and searching here at forum i've found the solution. I'll have to change some settings at portal-ext.properties.
However, my customer says that those changes will affect other subsites he own in the same Liferay installation. He suggests that the changes could occur only in the subsite we administrate.

Is there any way to have one portal-ext.properties that affect only one subsite?

Thanks and sorry for my poor english.


(Portuguese below)

Estou com um problema com o messageboards e pesquisando no fórum encontrei a solução. Eu terei que alterar algumas informações do arquivo portal-ext.properties. Porém meu cliente diz que essas alterações afetarão os outros sites contidos na instalação do Liferay e sugeriu que a alteração ocorresse apenas para o subsite que administramos.

Alguma sugestão de como podemos fazer para que haja um portal-ext.properties que altere APENAS um subsite?


Muito obrigado.
David H Nebinger
RE: Single subsite portal-ext.properties
23. Februar 2012 11:37
Antwort

David H Nebinger

Community Moderator

Rang: Liferay Legend

Nachrichten: 11793

Eintrittsdatum: 1. September 2006

Neue Beiträge

Nope, you'll have to hook this into place.
Hitoshi Ozawa
RE: Single subsite portal-ext.properties
23. Februar 2012 15:37
Antwort

Hitoshi Ozawa

Rang: Liferay Legend

Nachrichten: 7949

Eintrittsdatum: 23. März 2010

Neue Beiträge

It depends. Do you have your own domain url for the site (that is, are you in a multi-tenant setup with your own Liferay instance) or do you just adminstrator a community or organization within a single Liferay portal?

If the former, you'll be able to do for SOME properties.
#
# Each portal instance can have its own overriden property file following
# the convention portal-companyWebId.properties. To enable this feature, set
# the "company-id-properties" system property to true.
#
# To enable:
#
# java ... -Dcompany-id-properties=true
#
# The read order will now be: portal.properties, then portal-ext.properties,
# and then portal-liferay.com.properties.
#
# Note that not all properties can have different values per company. This
# functionality is only available for legacy reasons. The preferred way to
# configure a portal instance is through the Control Panel.
#
include-and-override=portal-${easyconf:companyId}.properties
include-and-override=${liferay.home}/portal-${easyconf:companyId}.properties
Renato Coneglian
RE: Single subsite portal-ext.properties
24. Februar 2012 06:16
Antwort

Renato Coneglian

Rang: New Member

Nachrichten: 4

Eintrittsdatum: 23. Februar 2012

Neue Beiträge

We're administrating one organization, but we can send them files to replace. (We don't have access to the liferay files directly) But they argue the portal-ext.properties substitution we want to do will mess their configs of the other subsite.

So this tip can't be used?
Hitoshi Ozawa
RE: Single subsite portal-ext.properties
24. Februar 2012 06:50
Antwort

Hitoshi Ozawa

Rang: Liferay Legend

Nachrichten: 7949

Eintrittsdatum: 23. März 2010

Neue Beiträge

Seems you're not setup on a multi-tenant environment so your Liferay is running all on one set of portal properties.
Which setting did you request to be changed?
Renato Coneglian
RE: Single subsite portal-ext.properties
24. Februar 2012 09:30
Antwort

Renato Coneglian

Rang: New Member

Nachrichten: 4

Eintrittsdatum: 23. Februar 2012

Neue Beiträge

Hitoshi Ozawa:
Seems you're not setup on a multi-tenant environment so your Liferay is running all on one set of portal properties.
Which setting did you request to be changed?


We're having the null message_boards return link, and de solution is:


For resolving this issue you have to set 3 properties in your portal-ext.properties file.

redirect.url.security.mode=ip
redirect.url.domains.allowed=
redirect.url.ips.allowed=127.0.0.1,SERVER_IP.

You can set your ip address instead of SERVER_IP by comma seprated.

Then after starting your liferay server you have to do some settings.

Here I mention the steps to do setting. just follow this.

1) Login as Admin
2) Go to setting -> Control Panel
3) set the virtual host name (like 192.168.100.113 or abc.xyz.com) and then save it.

And you found that you got the solution.
Hitoshi Ozawa
RE: Single subsite portal-ext.properties
26. Februar 2012 04:58
Antwort

Hitoshi Ozawa

Rang: Liferay Legend

Nachrichten: 7949

Eintrittsdatum: 23. März 2010

Neue Beiträge

If you're getting errors, all other users using the same instance of Liferay should also be getting the same error.

Tell the admin that's you're getting the error and all the other users are probably getting the same error making Liferay useless.