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 for a backend pool name based on a header and then route the request to the backend. Please note that we cannot simply hash the requests to any backend since specific requests can only be handled by specific pools. Thanks Sachin