[EMAIL PROTECTED] wrote: > The idea to modify mod_proxy.c is probaly the most > convenient solution. Instead of configure backend > machine from the ProxyPass setting, you may specifically > assign it to the one in the cookie, which takes only a > few lines of code to change --- well, plus extra steps > to handle the cookie.
But you're not accounting for the possibility of server failure on the backend. A proper load-balancer (including the open source ones and mod_backhand) would detect dead servers and handle the failover to another server. Building this yourself is probably not worth it, with so many open source solutions already available. - Perrin