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...
Thomas_Gobet
Nimbostratus
Jan 02, 2014Can you try this :
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
if { ![string tolower [HTTP::uri]] equals "/login" }{
HTTP::uri "/login"
}
}
default {
log local0. "[IP::client_addr]:[TCP::client_port]: Matched default pool"
pool site-10.130.14.98_29710
}
}
}
I added a condition for your URI rewriting action.
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