Hi, May I ask you why you want absolutely not hash this part? I clearly don't understand, and I don't see any disadvantage of hashing a full URI.
Maybe passing the argument you want to hash in the query string, then use the balance param algorithm may help. cheers On Mon, Apr 2, 2012 at 8:28 PM, Sameh Ghane <sa...@anthologeek.net> wrote: > Le (On) Mon, Apr 02, 2012 at 06:32:31PM +0100, Jonathan Matthews ecrivit > (wrote): >> On 2 April 2012 17:25, Sameh Ghane <sameh+s...@anthologeek.net> wrote: >> > >> > Is there anything I missed ? Like setting a specific request header which >> > would >> > be the result of a regexp on the URI, and balancing on that header ? >> >> I don't understand what you've written. Could you say it again, but >> differently? >> Some examples would probably help too. > > Sorry for this. > > Imagine I see requests for /xxxxx/yyyyyy.zzzzz and I would like to balance > according to the URI, though I don't want the "yyyyy" part to be fed to the > hash > function. As far as I understand, it cannot be done with 'balance uri'. > > That's why I would like to know if it can be circumvented through something > like: > > backend be > .. > reqadd  balhdr:\ xxx > balance hdr(balhdr) > .. > > > Cheers, > > -- > Sameh Ghane >