htuytela_37346
Dec 20, 2013Nimbostratus
host header load-balancing
Hi,
I'm having a question on host-header load balancing, or something similar. To be more specific, I have a conditional irule where the pools listen to different URL's.
This is what I have at this moment :
when HTTP_REQUEST {
switch -glob [HTTP::header value "User-Agent"] {
"*MSIE 6*" -
"*MSIE 7*" -
"*MSIE 8*" {
pool site-10.130.14.98_9610
}
default {
pool site-10.130.14.98_29710
}
}
}
The problem is that this pool site-10.130.14.98_9610 is actually only giving correct output on msie.foo.com/login/ and site-10.130.14.98_29710 listens to listening www.foo.com Basically, if I could add the /login to site-10.130.14.98_9610, that would do the trick as well, as only the /login is important. The default pool works fine.
Thank you,
Hans