httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: mod_proxy. mod_proxy_balancer and failovers
Date Tue, 02 Jun 2009 14:05:17 GMT

On Jun 2, 2009, at 9:24 AM, Kevac Marko wrote:

> On Tue, Jun 2, 2009 at 4:15 PM, Nick Kew <nick@webthing.com> 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...


Mime
View raw message