On Jun 2, 2009, at 9:24 AM, Kevac Marko wrote:
On Tue, Jun 2, 2009 at 4:15 PM, Nick Kew <[email protected]> wrote:
How is the balancer supposed to know that one valid HTTP response
is an error while another is correct? A 404 or other error response
doesn't mean there's a problem with the server!
These HTTP responses can be configured in httpd.conf. Something like:
PROXY_BALANCER_RETRY 404
PROXY_BALANCER_RETRY 405
PROXY_BALANCER_RETRY 406
Yes, you are right, 404 does not mean that there is an error, but it
could.
In which case you'd need to either have mod_proxy treat all such
returns as "errors" or somehow know when a 404 is, for example,
an error.
The former is easier to fold in, but still would need to
be able to justify this from a "feature" PoV...