You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Philip Wigg <ph...@philipwigg.co.uk> on 2010/01/14 09:33:20 UTC
Re: [users@httpd] Apache 2.2: mod_proxy_balancer does not work as
documented?
2010/1/14 Francis GALIEGUE <fg...@one2team.com>:
> 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 :(
ProxySet is only available in Apache 2.2 and later. Are you sure
you're running the 'httpd -S' from the right version of Apache?
---------------------------------------------------------------------
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
Re: [users@httpd] Apache 2.2: mod_proxy_balancer does not work as
documented?
Posted by Francis GALIEGUE <fg...@one2team.com>.
On Thu, Jan 14, 2010 at 09:33, Philip Wigg <ph...@philipwigg.co.uk> wrote:
>
> ProxySet is only available in Apache 2.2 and later. Are you sure
> you're running the 'httpd -S' from the right version of Apache?
>
Yes, this is Apache 2.2. 2.2.3 to be precise (the one bundled with rhel5).
--
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