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

Reply via email to