[opencms-dev] VHOST and Multisites

Vincent Lambert v.lambert at eurelis.com
Sun Aug 1 17:58:47 CEST 2010


Hi Olivier,

We did such configuration.

First try to run OpenCms multi-site configuration only with Tomcat.
We need to configure the default host, or a named host with aliases.
You also need to configure your sites in OpenCms configuration file
(opencms-config.xml).

Once it is ok, you can configure Apache. We use either proxypass or mod-jk.

I hope it helps.

Maybe you can be more specific on what did not work on your config.

Regards,
Vincent


Le 01/08/10 16:35, « olivier.camus at steria.com » <olivier.camus at steria.com> a
écrit :

> Hi all,
>  
> I am trying to setup an Apache httpd 2 + Tomcat 6 + OpenCms 7.5 binding for
> multiple sites
>  
> In my opencms I would like to have :
>  
> /sites/default (default opencms site + access to the workplace)
> /sites/site1 
> /sites/site2 
> /sites/site3 
> /sites/site4 
>  
> My apache should catch virtual hosts requests like :
>  
> site1 -> should serves the site1 index page
> site2 -> should serves the site2 index page
> site3 -> should serves the site3 index page
> site4 -> should serves the site4 index page
> -> all the others should serves the default opencms site
>  
> I also would like to use the mod_proxy_ajp (if possible with the embedded
> worker - to avoid conf.)
>  
>  
> I found a lot of tutorials ... but I am a bit lost and nothing work ...
>  
> Is anyone already did such conf ? .. please heeelpp ... :(
>  
> Olivier CAMUS
> 
> Steria 
> 2 rue de la Faisanderie
> BP 95 - Lingolsheim
> F-67380 Strasbourg
> 
> Tel : +33 3 90 20 77 52
> Mobile: +33 6 32 97 22 32
> olivier.camus at steria.fr
> www.steria.fr <http://www.steria.fr/>
> 
> Afin de contribuer au respect de l'environnement, merci de n'imprimer ce
> courriel que si nécessaire
> Ce message est à l'attention exclusive des destinataires désignés. Il peut
> contenir des informations confidentielles. Si vous n'êtes pas destinataire du
> message, merci d'en avertir immédiatement l'expéditeur et de détruire ce
> message. Le contenu de ce message ne pourrait engager la responsabilité de
> Steria que s'il a été émis par une personne dûment habilitée agissant dans le
> strict cadre de ses fonctions et à des fins non étrangères à ses attributions.
> Bien que les meilleurs efforts soient faits pour maintenir cette transmission
> exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa
> responsabilité ne saurait être engagée pour tout dommage résultant d'un virus
> transmis. 
> This message is intended exclusively for the designated addressee. It may
> contain confidential material. If you are not the correct addressee, please
> notify the sender immediately and destroy the message. The content of this
> message will engage the responsibility of Steria only if it has been sent by
> an authorized person acting in the strict scope of his functions and for
> purposes that are related to his competence. Although reasonable efforts have
> been made to keep this transmission free from viruses, the sender will not be
> liable for damages caused by a transmitted virus.
> 
> 
> _______________________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20100801/853a5284/attachment.htm>


More information about the opencms-dev mailing list