Forum Discussion
Ajmal_2608
Nimbostratus
Jan 11, 2013Selective pool member based on uri
Hi,
Some of my webservers are not responding and we take them out from pool at times. The task is to have something like:
https://[HTTP::host]/one
select pool member 1 &...
Ajmal_2608
Nimbostratus
Jan 24, 2013The redirect works with following code but for the 1st time I have to enter the URL without /one or /two and once a session is established, the redirection works, however it doesn't help as the traffic goes to a the node to which persistence had been made.
"/one*" {
if {[HTTP::uri] equals {/one}} {HTTP::uri {/Sitea/Web/Main/login.html}
use pool sitea-app-pool-breakdown-testing member 10.12.159.60 8180
}
}
"/two*" {
if {[HTTP::uri] equals {/two}} {HTTP::uri {/Sitea/Web/Main/login.html}
use pool sitea-app-pool member 10.12.159.61 8180
}
}
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