[opencms-dev] OP-CMS 7.5.1, glassfish and multidomain

Achim Westermann achim.westermann at gmx.de
Fri Oct 2 14:05:37 CEST 2009


Hi Paul-Inge,

whoops, I did not see you already replied.

kind regards,

Achim

Paul-Inge Flakstad wrote:
> Hi Per-Olof
> 
> AFAIK the domain name is everything OpenCms needs for determining which site to serve from. This is configured in the "sites" section in opencms-system.xml, where you define a site by mapping a domain name to its root folder in OpenCms' virtual file system:
> 
> <sites>
>       ...
>       <site server="http://www.mysitename.org" uri="/sites/mysite/"/>
> </sites>
> 
>> -----Original Message-----
>> From: opencms-dev-bounces at opencms.org 
>> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of 
>> Per-Olof Widström
>> Sent: 2. oktober 2009 13:43
>> To: The OpenCms mailing list
>> Subject: [opencms-dev] OP-CMS 7.5.1, glassfish and multidomain
>>
>> I the release notes for 7.5.1 I saw that there were support 
>> for glassfish.
>>
>> Since Glassfish is using nio (non blocking io) the need for 
>> using apache 
>> in front of  it is far less then for tomcat. We are 
>> considering letting 
>> glassfish listen directly on port 80.
>>
>> To be able to use open cms for several sites the 
>> documentation says one 
>> needs to have one connector, listening on a unique port, for 
>> each site.
>>
>> Can open cms figure out which site a request is meant for by 
>> examining 
>> the request for a domain-name, or does the container have to 
>> listen to 
>> different ports to help opencms decide what site to serve 
>> content from?
>>
>> regards
>> pow
>>
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, 
>> please visit
>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>>
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
> 



More information about the opencms-dev mailing list