Hi,

I'm jut guessing, but to me it can work for URLs only, so in your
case, it will match "/", "/customer/12345", and
"/some/path?customerId=12345".
For now, the string table can't have a concatenated string of 2
information, Host header and URL in your case.
But who knows, maybe this feature will arrive soon too :)

cheers



On Thu, May 24, 2012 at 6:33 PM, S Ahmed <sahmed1...@gmail.com> wrote:
> Baptiste,
>
> Whenever this feature will be implemented, will it work for a specific url
> like:
>
> subdomain1.example.com
>
> What about by query string?  like:
>
> www.example.com/customer/12345
>
> or
>
> www.example.com/some/path?customerId=12345
>
>
> Will it work for all the above?
>
> On Tue, May 8, 2012 at 9:38 PM, S Ahmed <sahmed1...@gmail.com> wrote:
>>
>> Yes it is the lookup that I am worried about.
>>
>>
>> On Tue, May 8, 2012 at 5:46 PM, Baptiste <bed...@gmail.com> wrote:
>>>
>>> Hi,
>>>
>>> Willy has just released 1.5-dev9, but unfortunately the track
>>> functions can't yet track strings (and so URLs).
>>> I'll let you know once a nightly snapshot could do it and we could
>>> work on a proof of concept configuration.
>>>
>>> Concerning 250K URLs, that should not be an issue at all to store them.
>>> Maybe looking for one URL could have a performance impact, we'll see.
>>>
>>> cheers
>>>
>>> On Tue, May 8, 2012 at 10:00 PM, S Ahmed <sahmed1...@gmail.com> wrote:
>>> > Great.
>>> >
>>> > So any ideas how many urls one can story in these sticky tables before
>>> > it
>>> > becomes a problem?
>>> >
>>> > Would 250K be something of a concern?
>>> >
>>> >
>>> > On Tue, May 8, 2012 at 11:26 AM, Baptiste <bed...@gmail.com> wrote:
>>> >>
>>> >> On Tue, May 8, 2012 at 3:25 PM, S Ahmed <sahmed1...@gmail.com> wrote:
>>> >> > Ok that sounds awesome, how will that work though?  i.e. from say
>>> >> > java,
>>> >> > how
>>> >> > will I do that?
>>> >> >
>>> >> > From what your saying it sounds like I will just have to modify the
>>> >> > response
>>> >> > add and a particular header.  And on the flip side, if I want to
>>> >> > unblock
>>> >> > I'll make a http request with something in the header that will
>>> >> > unblock
>>> >> > it?
>>> >> >
>>> >>
>>> >> That's it.
>>> >> You'll have to track these headers with ACLs in HAProxy and to update
>>> >> the stick table accordingly.
>>> >> Then based on the value setup in the stick table, HAProxy can decide
>>> >> whether it will allow or reject the request.
>>> >>
>>> >> > When do you think this will go live?
>>> >> >
>>> >>
>>> >> In an other mail, Willy said he will release 1.5-dev9 today.
>>> >> So I guess it won't be too long now. Worste case would be later in the
>>> >> week or next week.
>>> >>
>>> >> cheers
>>> >
>>> >
>>
>>
>

Reply via email to