> I'm getting too sleepy to finish this off, so tomorrow. (I have to
I guess I lied. Patch is at:
ftp://esdev.net/pub/mod_proxy/modproxybeta1.patch.gz
This adds the functionality that Josh was referring to. I'm still
thinking of adding the "tagged as down" functionality... maybe
tomorrow. If I do that I'll probably make it's "load balancing"
algorithm a bit more equitable.
Anyway, usage is just two new apache conf file options:
ProxyTimeout (some number)
ProxyAttempt (some number)
By default these are both set to zero. The timeout will cause
mod_proxy to sleep() for how many number of seconds you specify for
ProxyTimeout after a unsuccessful request. The ProxyAttempt specifies
how many times to try the servers. Keep in mind this is a beta patch,
and I'll do some more work on this later. I might even try to pick up
this orphaned program, and do some real work on it. It looks like it
was designed well to begin with, but suffered from "patch bloat" with
no one to look after it later.
Thanks,
Shane.
(BTW: in ./apache_blah/src/modules execute: cat
whateverthefile.patch|patch -p0 )