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 ...
JRahm
Admin
Sep 21, 2005yep. You can add some logging as well while getting used to iRules:
when HTTP_REQUEST {
log "HTTP host is [HTTP::host] and uri is [HTTP::uri]"
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
}
}
}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