RE: Apache 2.2: mod_proxy_balancer does not work as documented?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xxxxxxxxxxxx
> To: users@xxxxxxxxxxxxxxxx
> Subject: 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@xxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxx
> " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>


Windows 7 : Trouvez le PC qui vous convient! Découvrez notre offre !

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux