Re: Balancing a protected site?

From: Jonathan van Dijken <jonathan#barafranca.com>
Date: Thu, 21 Feb 2008 02:27:52 +0000


It is not really haproxy info this, but apache.

satisfy any will help you, the following is an example

AuthType Basic
AuthName "Use your username and password" AuthUserFile /whereever/your/.htaccess/is Require valid-user
Order deny,allow
deny from all
allow from <lb ip>
satisfy any

Regards,
Jonathan.  

Jake Conk wrote:
> Hello,
>
> If I'm trying to balance a site that is protected by basic
> authentication (the apache username / password authentication by
> htpasswd) then will haproxy think the site is down if it doesn't
> return a normal response because it couldn't authenticate and if so is
> there a way to pass a user name and password to use so that haproxy
> can get passed the authentication part and get the response it needs
> from the server to know that its still up?
>
> I'm using haproxy 1.3 thanks.
>
> Best,
> - Jake
>
>
Received on 2008/02/21 03:27

This archive was generated by hypermail 2.2.0 : 2008/02/21 03:30 CET