Tomando como ejemplo en nombre del servidor "www.ideasoft.biz" y el puerto por defecto de https "443"
Note | ||
---|---|---|
| ||
A partir de la versión 6.4.x se utiliza java 1.7. Y para que funciones SSL con java 1.7 hay que agregar la property: en linux (jboss.sh y liferay.sh): en windows (JBoss.bat y Liferay.bat): |
Portlets.properties
o3.http.host=www.ideasoft.biz
o3.http.port=443
liferay.port=443
o3.http=https://${o3.http.host}:${o3.http.port}
urlPrefixPortal=https\://${o3.http.host}\:${o3.http.port}/o3web
urlPrefixUploadFiles=https\://${o3.http.host}\:${o3.http.port}
urlPrefixExist = https://${o3.http.host}:${o3.http.port}
urlPrefixRest=http\://localhost\:PUERTO_SERVIDOR
O3Server.properties
http.host=localhostSERVIDOR
http.port=PUERTO_APACHE_O_SERVIDOR (ejemplo si es un apache va: 80, sino va el 8080, o el que se use)
gis.o3portal.url = https://www.ideasoft.biz/o3portal
geoserver.url = https://www.ideasoft.biz/geoserver
eportal.url = https://www.ideasoft.biz/eportal
...
urlPrefixRest=http\://localhost\:8080PUERTO_SERVIDOR
urlPrefixChannel=https://www.ideasoft.biz/o3-parts-blaze-web
urlPrefixTicket=http\://localhost\:8080PUERTO_SERVIDOR
urlPrefixResources=https://www.ideasoft.biz/o3-parts-blaze-web
urlPrefixUploadFiles=https://${o3.http.upload.host}:${o3.http.upload.port}
urlPrefixPortal=https://${o3.http.upload.host}:${o3.http.upload.port}
<o3>/liferay/tomcat/webapps/eportal/WEB-INF/classes/portal-ext.properties
host.name=www.ideasoft.biz
o3.cas.server.host=${host.name}
o3.base.url= https://${host.name}
liferay.host=${host.name}
cas.login.url=https://${o3.cas.server.host}/cas/login
cas.logout.url=https://${o3.cas.server.host}/cas/logout?service=https://${liferay.host}/eportal
cas.validate.url=http://localhost:PUERTO_SERVIDOR/cas/proxyValidate
<o3>/liferay/tomcat/webapps/eportal/WEB-INF/web.xml
...
<o3>/liferay/tomcat/webapps/o3-parts-web/WEB-INF/classes/portlets-config/portlets-config.properties
urlPrefixLogout=httpshttp\://www.ideasoft.bizlocalhost\:PUERTO_SERVIDOR/o3-rest
urlPrefixRest=http\://localhost\:8380 PUERTO_SERVIDOR
urlPrefixChannel=https\://www.ideasoft.biz/o3-parts-web
urlPrefixTicket=http\://localhost\:8380 PUERTO_SERVIDOR
urlPrefixPortal=https\://www.ideasoft.biz/o3portal o3web
urlPrefixUploadFiles=https\://www.ideasoft.biz
Configuración de mod_jk en apache
(Luego de agregar los workers en el archivo "conf/workers.properties" agregar el host virtual en "conf.d/virtualhost.conf")
<VirtualHost *:80>
ServerName example.xxx.org
ServerAdmin webmaster@xxx.org
JKMount /o3web worker12
JKMount /o3web/* worker12
JKMount /exist worker12
JKMount /exist/* worker12
JKMount /o3report worker12
JKMount /o3report/* worker12
JKMount /cas worker12
JKMount /cas/* worker12
JKMount /o3-rest worker12
JKMount /o3-rest/* worker12
JKMount /rbac-rest worker12
JKMount /rbac-rest/* worker12
JKMount /o3-parts-blaze-web worker12
JKMount /o3-parts-blaze-web/* worker12
JKMount /o3bpa worker13
JKMount /o3bpa/* worker13
JKMount /eportal worker14
JKMount /eportal/* worker14
JKMount /eportalthemes worker14
JKMount /eportalthemes/* worker14
JKMount /o3-liferay-theme worker14
JKMount /o3-liferay-theme/* worker14
JKMount /geoserver worker14
JKMount /geoserver/* worker14
JKMount /o3-parts-web worker14
JKMount /o3-parts-web/* worker14
JKMount /o3portal worker14
JKMount /o3portal/* worker14
</VirtualHost>urlPrefixServerSync=https\://www.ideasoft.biz/o3web
urlPrefixExist=https\://www.ideasoft.biz