Forum Discussion
irchuvieco_1345
Nimbostratus
Apr 25, 2018Cloned pool isn't working correctly
Hi guys
We are using clone pool sentence using the iRule
when HTTP_REQUEST {
pool "pro-http-sur"
if { [HTTP::host] contains "www.bbb.es" } {
if { ( ([HTTP::method] equals "POST") &&...
jaikumar_f5
Noctilucent
Apr 26, 2018The logic is looking good, but would you mind trying this,
when HTTP_REQUEST {
if { [HTTP::host] contains "www.bbb.es" } {
if { ( ([HTTP::method] equals "POST") && ([HTTP::uri] starts_with "/boa/index.jsf" ))
||([HTTP::uri] starts_with "/boa/hotelResult.jsf") } {
pool pro-http-sur
clone pool pro-clone-sur
log local0. "Host matched if-if condition - CLONING, HOST: [HTTP::host] has URI : [HTTP::uri] of Method: [HTTP::method]"
} else {
pool pro-http-sur
log local0. "Host matched if-else condition - NO CLONE, HOST: [HTTP::host] has URI : [HTTP::uri] of Method: [HTTP::method]"
}
} elseif { [HTTP::host] contains "www.extranetccc.es"} {
pool pro-http-sur-extranet
log local0. "Host matched elseif condition - Extranet, NO CLONE, HOST: [HTTP::host] has URI : [HTTP::uri] of Method: [HTTP::method]"
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
