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

Andy Savin A.D.Savin at bath.ac.uk
Fri Oct 2 13:55:05 CEST 2009


Hi,

>From our experience the different ports are required.  Simply having the 
domain name isn't enough.

However, I would be interested to know if there is an alternative.

Andy


-- 
----------------------------
   WEB SYSTEMS DEVELOPER
   Web Services
   University of Bath
   Tel: 01225 38 6275
----------------------------

On Fri, 2 Oct 2009, Paul-Inge Flakstad wrote:

> From: Paul-Inge Flakstad <flakstad at npolar.no>
> To: The OpenCms mailing list <opencms-dev at opencms.org>
> Date: Fri, 2 Oct 2009 13:51:55 +0200
> Subject: Re: [opencms-dev] OP-CMS 7.5.1, glassfish and multidomain
> Reply-To: The OpenCms mailing list <opencms-dev at opencms.org>
> X-Spam-Score: 0.0 (/)
> 
> 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