Forum Discussion
htuytela_37346
Nimbostratus
Dec 20, 2013host 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 t...
htuytela_37346
Nimbostratus
Jan 02, 2014Thank you for your reply. There seems to be a loop in the iRule. It now looks like traffic is being redirected to the virtual server again, with the suffix /login added, which obviously causes this loop when the user uses MSIE. I just would need the /login suffix added, and the pool site-10.130.14.98_9610 to be used. This is my current iRule :
when HTTP_REQUEST {
switch -glob [HTTP::header value "User-Agent"] {
"*MSIE 6*" -
"*MSIE 7*" -
"*MSIE 8*" {
log local0. "[IP::client_addr]:[TCP::client_port]: Matched MSIE."
pool site-10.130.14.98_9610
HTTP::uri "/login"
}
default {
log local0. "[IP::client_addr]:[TCP::client_port]: Matched default pool"
pool site-10.130.14.98_29710
}
}
}
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects