Forum Discussion
hooleylist
Aug 30, 2011Cirrostratus
Hi Aldo,
A switch statement should be more efficient and simpler to administer. I've added a bit more logging as well. Can you try testing this iRule and see whether the CSS requests are being sent to the correct pool?
when HTTP_REQUEST {
log local0. "host = [HTTP::host]"
log local0. "uri = [HTTP::uri]"
log local0. "path = [HTTP::path]"
switch -glob [HTTP::uri] {
"*/ProductManager*" -
"*/LRImage*" -
"*/servlet*" -
"*/QS*" -
"*/svgStore*" -
"*/\\?activity*" {
log local0. "Seleccion de Pool Product Manager for [HTTP::uri]"
persist source_addr
pool pool_pm
default {
log local0. "Seleccion de Pool Digital Imaging for [HTTP::uri]"
persist none
pool pool_di
}
}
}
Aaron