Select pool based on HTTP host header
Problem this snippet solves: This rule was designed for a customer that had many websites hosted on one VIP. This rule will dynamically assign a pool name based on the host header sent. In this case...
Published Mar 18, 2015
Version 1.0Tosin_Omojola
Mar 07, 2017Altostratus
This is exactly what am looking for as I am about to start an implementation requiring this. however, I don't understand how this takes care of the actual load balancing or selection of pools according to the host header sent.
If I have pools abc.com_pool, dbx.com_pool and xyz.com_pool and I want the corresponding client requests sent to the matching pool, how does this solution address that?
Another concern is, what value does the [HTTP::host] return for host value? How do requests for both and abc.com handled?