httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From inas inassen <mezgh...@hotmail.com>
Subject RE: [users@httpd] Apache 2.2: mod_proxy_balancer does not work as documented?
Date Fri, 15 Jan 2010 03:40:21 GMT


English message follows

Salut Francis

Le mod_proxy fonctionne tres bien, je l'utilise en production depuis 2005 et mon apache est
configuré pour service une quinzaine de tomcats repartis sur 6 virtuels host. Le JvmRoute
est tres important, ça ne marche pas sans ce parametre. Je suis maintenant à la maison,
quand j'arriverai demain au bureau je t'enverrai ma config.

Hi Francis,

The
mod_proxy works well, I'm using it in production since 2005 and my
apache is configured to service a around 15 Tomcats using 6 virtual hosts. The JvmRoute is
very important, it does not work without this parameter. 
Now, I am at home, when I'll get to the office tomorrow I'll send to you my config.

Inas

> Date: Thu, 14 Jan 2010 09:28:37 +0100
> From: fge@one2team.com
> To: users@httpd.apache.org
> Subject: [users@httpd] Apache 2.2: mod_proxy_balancer does not work as documented?
> 
> Hello everyone,
> 
> For a production platform, we have plans to migrate to Apache 2.2,
> using mod_proxy_ajp and mod_proxy_balancer instead of mod_jk.
> 
> Unfortunately, while the "single Tomcat below" case works with no
> problem, the balancer does not work at all...
> 
> Here is the relevant part of the configuration:
> 
>         <Proxy balancer://rod-r7>
>                 BalancerMember
> ajp://tomcat-rod-r7.admin.one2team.rod:8009 keepalive=On
>                 BalancerMember
> ajp://tomcat-cdgdev-r7.admin.one2team.rod:8009 keepalive=On
>                 ProxySet stickysession=JSESSIONID nofailover=On
>         </Proxy>
> 
>         RewriteEngine On
>         RewriteCond %{REQUEST_URI} ^/servlet/ [OR]
>         RewriteCond %{REQUEST_URI} \.jsp$
>         RewriteRule ^/(.*) balancer://rod-r7/$1 [P]
> 
> With this configuration, sessions do not stick :(
> 
> So, looking at the documentation again, I saw that there is a
> scolonpathdelim parameter which can be set to On, in order to account
> for the part behind the ';' in the JSESSIONID. And indeed, there is
> one in the generated cookies.
> 
> Unfortunately, when I add this to the ProxySet directive above, httpd
> -S says that the parameter is unknown :(
> 
> Help :(
> 
> -- 
> 
> Francis Galiegue
> ONE2TEAM
> Ingénieur système
> Mob : +33 (0) 683 877 875
> Tel : +33 (0) 178 945 552
> fge@one2team.com
> 40 avenue Raymond Poincaré
> 75116 Paris
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
 		 	   		  
_________________________________________________________________
Tchattez en direct en en vidéo avec vos amis !  
http://www.windowslive.fr/messenger/
Mime
View raw message