Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Tomando como ejemplo en nombre del servidor "www.ideasoft.biz" y el puerto por defecto de https "443"

Portlets.properties

o3.http.host=www.ideasoft.biz
o3.http.port=443
liferay.port=443

O3Server.properties

http.host=localhost
http.port=8080

gis.o3portal.url = https://www.ideasoft.biz/o3portal
geoserver.url = https://www.ideasoft.biz/geoserver
eportal.url = https://www.ideasoft.biz/eportal

O3Web.properties

o3.http.upload.host=www.ideasoft.biz
o3.http.upload.port=443

urlPrefixRest=http\://localhost\:8080
urlPrefixChannel=https://www.ideasoft.biz/o3-parts-blaze-web
urlPrefixTicket=http\://localhost\:8080
urlPrefixResources=/o3-parts-blaze-web
urlPrefixUploadFiles=https://${o3.http.upload.host}:${o3.http.upload.port}

<o3>/liferay/tomcat/webapps/eportal/WEB-INF/classes/portal-ext.properties

host.name=demo.ideasoft.biz
o3.cas.server.host=${host.name}
o3.base.url=http://${host.name}
liferay.host=${host.name}

<o3>/liferay/tomcat/webapps/eportal/WEB-INF/web.xml

Buscar el filtro "o3ClientSSOLiferayFilter" y agregar el "init-param" llamado "serverName" con el valor "demo.ideasoft.biz" (en lugar de "localhost:8080)

<o3>/liferay/tomcat/webapps/o3-parts-web/WEB-INF/classes/portlets-config/portlets-config.properties

urlPrefixChannel=http\://demo.ideasoft.biz/o3-parts-web
urlPrefixUploadFiles=http\://demo.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>