Christian,

Unless I misundertsood your question, this is typically done using the
"jvmRoute" parameter in the Tomcat configuration (check the Tomcat docs for
how to use this parameter).  In this way, session IDs are suffxied with a
unique id for each Tomcat and clients are always routed to the same Tomcat
for the life of their session.

Routing by source IP alone can be somewhat unreliable if you have many
clients coming through a single proxy such as from many ISPs, NAT
translation or from a VPN concentrator.

Ryan

-----Original Message-----
From: Christian [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 20, 2007 9:56 AM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] mod_proxy_balancer

hi,

i am using apache 2.2.4 with mod_proxy_balancer and mod_proxy_ajp.
both working fine using the lbmethod byrequest.

is there a possibility to change the lbmethod to something like bySourceIP ?

what i want to do, is to send requests from one client only to one backend
tomcat server as long as this tomcat is online / reachable.

for example pen (http://siag.nu/pen/) behaves like this.
is there any possibility to configure apache to do this ?

thanks in advance for your input.

Christian


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to