Re: Check backend servers

2012-02-12 Thread Sebastian Fohler
Thank you for all your help. I've fixed the problem now in configuring the backends to just answer with a index.php file as default, for every unspecific request. That seems to solve the problem for now. Greets Sebastian On 10.02.2012 14:12, Graeme Donaldson wrote: On 10 February 2012 14:50,

Re: Check backend servers

2012-02-10 Thread Baptiste
Hi, Maybe you're server require a Host header in the health check. Have you tried running the check using wget or curl on the server IP address? cheers On Fri, Feb 10, 2012 at 9:00 AM, Sebastian Fohler i...@far-galaxy.comwrote: Hi Is there some way to check the backendservers manually?

Re: Re: Check backend servers

2012-02-10 Thread Graeme Donaldson
On 10 February 2012 14:50, Sebastian Fohler i...@far-galaxy.de wrote: What URL does haproxy use exactly to check the service? Is it the realm + the url part or something else? Just to be sure to test the correct option. Hi Sebastian If you are just using the check option for the backends,

Re: Check backend servers

2012-02-10 Thread Sebastian Fohler
This is my backend definition: listen adserver.dev.adworxs.net bind192.168.10.70:80 modehttp log global option dontlognull option httpclose option

Re: Check backend servers

2012-02-10 Thread Sebastian Fohler
so I could use: adserver.dev.local/www/admin/index.php as uri part? Regards Sebastian On 10.02.2012 15:13, Baptiste wrote: option httpchk -- Sebastian Fohler Far-Galaxy Networks Web: http://www.far-galaxy.de Tel.: +49 (0)173 8796211 E-Mail: i...@far-galaxy.de

Re: Check backend servers

2012-02-10 Thread Baptiste
Hi, First, I can tell you which realm you have to use. You're the only one to know ;) You can use the hostname your clients use. Configure it like that: option httpchk HEAD /index.php HTTP/1.0\r\nHost:\ www.domain.com == please note the backslashes ( \ ) before the spaces.

Re: Check backend servers

2012-02-10 Thread Graeme Donaldson
On 10 February 2012 16:57, Baptiste bed...@gmail.com wrote: Configure it like that: option httpchk HEAD /index.php HTTP/1.0\r\nHost:\ www.domain.com == please note the backslashes ( \ ) before the spaces. You should use HTTP/1.1 if you're sending a Host: header. Graeme.

Re: Check backend servers

2012-02-10 Thread Baptiste
On Fri, Feb 10, 2012 at 4:00 PM, Graeme Donaldson gra...@donaldson.za.net wrote: On 10 February 2012 16:57, Baptiste bed...@gmail.com wrote: Configure it like that: option                  httpchk HEAD /index.php HTTP/1.0\r\nHost:\ www.domain.com == please note the backslashes ( \ ) before

Re: How to check backend servers thru Haproxy?

2011-05-27 Thread Guillaume Bourque
Hi Willy, should those two lines server srv1 1.1.1.1:80 cookie s1 server srv2 1.1.1.2:80 cookie s2 be server srv1 1.1.1.1:80 http://1.1.1.1/ cookie srv1 server srv2 1.1.1.2:80 http://1.1.1.2/ cookie srv2 Not sure but since I can't test right now i thought to ask

Re: How to check backend servers thru Haproxy?

2011-05-19 Thread Willy Tarreau
Hello Jean-Michel, On Wed, May 18, 2011 at 12:28:20AM +0100, Mouny Jean michel wrote: Hello, I have following configuration installed:                       +--   backend 1 Internet  Reverse Proxy with Haproxy |