Re: Balancing based on cookie from URL

2012-03-19 Thread Kamil Gorlo
On Mon, Mar 19, 2012 at 6:32 PM, Willy Tarreau wrote: > Hi Kamil, > > On Mon, Mar 19, 2012 at 11:59:51AM +0100, Kamil Gorlo wrote: >> "Cookies" are passed in two ways only: >>  - as regular http cookies >>  - as parameters in query string when first option

Re: Balancing based on cookie from URL

2012-03-19 Thread Kamil Gorlo
Hi Willy, On Mon, Mar 19, 2012 at 9:56 AM, Willy Tarreau wrote: > Hi Kamil, > > On Mon, Mar 19, 2012 at 09:02:25AM +0100, Kamil Gorlo wrote: >> To use our API you need to create session on server. You call /signin >> and then backend sets the session cookie - it's hig

Re: Balancing based on cookie from URL

2012-03-19 Thread Kamil Gorlo
Hi Willy, On Sat, Mar 17, 2012 at 8:58 AM, Willy Tarreau wrote: > Hi Kamil, > > On Thu, Mar 15, 2012 at 10:17:21AM +0100, Kamil Gorlo wrote: >> Hi guys, >> >> I want to use HAproxy as a LB to my HTTP API, but I want to balance >> requests based on some route_i

Balancing based on cookie from URL

2012-03-15 Thread Kamil Gorlo
minate SSL and this will probably need more than two machines). Thanks for any help, -- Kamil Gorlo