Forum Discussion
Gustavo_Lazarte
Nimbostratus
Sep 21, 2005Not sending traffic to first pool
Hello,
we just moved from 4.5 and this iRule is not sending any traffic to the edge-fx pool. I tested this iRule with other servers traffic and it is not sending any traffic to the first pool in ...
Gustavo_Lazarte
Nimbostratus
Sep 21, 2005I have this now,
it looks like it is working, but will the order of the WHEN change the performance of the site thanks again
when HTTP_REQUEST {
if {[HTTP::host] contains "www.website.com" or [HTTP::host] contains "XX.XX.XX.XX"}{
if {[HTTP::uri] ends_with ".jpg" or [HTTP::uri] ends_with ".gif" or [HTTP::uri] ends_with ".JPG" or [HTTP::uri] ends_with ".GIF"}{
pool edge-fx
} else {
pool web_pool
}
}
}
when LB_FAILED {
LB::reselect pool web_pool
}
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