Forum Discussion
praneshmaniseka
Nimbostratus
Oct 31, 2017url redirect based on Geo location and VIP active
Looking for an iRule for url redirect based on Geo location in LTM and only when VIP active.
Lee_Sutcliffe
Nacreous
Oct 31, 2017Virtual Server status is returned from the pool status that is associated to the VS. So you could nest an if condition checking the pool for each VS before redirecting:
eg:
.
.
switch [whereis [IP::client_addr] continent] {
“NA” {
if { [active_members my_NA_pool] < 1 } {
HTTP::redirect “http://app-NA.abc.com”
}
.
.
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