Re: Debian/Ubuntu packages for HAProxy

2013-06-06 Thread Willy Tarreau
Hi Vincent, On Thu, Jun 06, 2013 at 09:08:30AM +0200, Vincent Bernat wrote: Hi! If you want to use prebuilt packages for HAProxy for Debian or Ubuntu, here is what is available: If you want HAProxy 1.4: 1. For Debian Sid (unstable) and Debian Jessie (testing), just apt-get

Haproxy equivalent of Apache mod_rewrite RewriteMap

2013-06-06 Thread Sachin Shetty
Hi, We use RewriteMap extensively in Apache to look up an external service on the header host to determine which downstream pool we want to use: Something like this in apache: RewriteMap d2u prg:/www/bin/dash2under.pl RewriteRule - ${d2u:%{HOST}} Is there a way to do this in haproxy? i.e lookup

HAProxy latest on SSL

2013-06-06 Thread Daniel Storjordet
Hi. I am a little confused by all the different examples of HAProxy with SSL. Are a lot of the examples outdated and does not work with latest version? Could any of you reference me to a clean confuguration example that: o Supports regular and SSL traffic with same backend. o Selects a folder

Re: Debian/Ubuntu packages for HAProxy

2013-06-06 Thread Vincent Bernat
❦ 6 juin 2013 10:55 CEST, Willy Tarreau w...@1wt.eu : Thank you very much for this work, I'm sure this will be appreciated a lot and will improve user experience by definitely getting rid of the old bogus versions. BTW, I am not alone on this. Debian packages are also maintained by Apollon

RE: HAProxy latest on SSL

2013-06-06 Thread Lukas Tribus
Hi Daniel, You should be able to find everything in doc/configuration.txt (or online at [1], [2], [3]). If thats not the case, then we need to fix the docs :) However I agree a good example is can be very useful. Perhaps we should include this config in examples/* ... Anyway, here we go:

[PATCH] DOC: examples: provide simplified ssl configuration

2013-06-06 Thread Lukas Tribus
Hi! Heres a patch to provide a simple example ssl configuration we could add to examples/*: DOC: examples: provide simplified ssl configuration Provides a minimalistic ssl configuration example - no details because they belong to doc/*. Let me know what you think. Regards, Lukas

Re: Question about HTTP load balancing using HAProxy

2013-06-06 Thread Jonathan Matthews
On 4 June 2013 09:09, Ali Majdzadeh ali.majdza...@gmail.com wrote: Jonathan, Lukas Thanks for your valuable comments. Would you please indicate some of those moving parts that could fail during a single download, Jonathan? Sorry Ali, I don't think that's appropriate to the HAProxy mailing

Re: Whitespace in external ACL file triggers parsing error

2013-06-06 Thread slaweuk
On 5 Jun 2013, at 18:55, Lukas Tribus luky...@hotmail.com wrote: Correct, because a trailing space is - like every space or tab other than the leading ones - part of the pattern and since a valid IP Address has no spaces in it, the ACL is invalid. HAProxy 1.5 returns a more obvious error:

Re: Question about HTTP load balancing using HAProxy

2013-06-06 Thread Ali Majdzadeh
Jonathan, Thanks a lot for your comments . Actually, the problem I currently face is how to provide maximum reliability (if this word is applies) in terms of http load balancing. Well, I definitely understand your constraints regarding professional consultancy and thank you again for your valuable

RE: Whitespace in external ACL file triggers parsing error

2013-06-06 Thread Lukas Tribus
Hi Slawek, if you consider that white spaces are not visible for human eyes (at least not in default editor view) - therefore it is very easy to make errors. True, but we are not talking about a configuration file, its a pattern file, which by definition should be as exact as possible. When

Re: Debian/Ubuntu packages for HAProxy

2013-06-06 Thread Ramin K
On 6/6/2013 12:08 AM, Vincent Bernat wrote: Hi! If you want to use prebuilt packages for HAProxy for Debian or Ubuntu, here is what is available: If you want HAProxy 1.4: 1. For Debian Sid (unstable) and Debian Jessie (testing), just apt-get install haproxy. 2. For Debian Wheezy