Foren

getURLHome

james michael rush, geändert vor 16 Jahren.

getURLHome

New Member Beiträge: 11 Beitrittsdatum: 14.01.08 Neueste Beiträge
does anyone know how the return value of the getURLHome: function() is generated?


looking at the source for my page I see:

getURLHome: function() {
return "http://<servername>:8080";
},

I am trying to put this behind an SSL-enabled Apache server, and it keeps reverting back to the non-SSL port for the j2ee server instead of sticking with the https://<serverB>/ url that I want.

thanks in advance
thumbnail
Jason Reast-Jones, geändert vor 15 Jahren.

RE: getURLHome

New Member Beiträge: 20 Beitrittsdatum: 10.10.08 Neueste Beiträge
James,

Have a look at the following settings in portal.properties:
  • web.server.http.port
  • web.server.https.port
  • web.server.host
  • web.server.protocol

Bear in mind you'll need to override these settings by providing them in WEB-INF\classes\portal-ext.properties under the liferay path (on Tomcat this is \tomcatpath\webapps\ROOT\WEB-INF\classes\).

Jason