Forum Discussion
mbamusa_59409
Sep 02, 2013Nimbostratus
irule to distribute based on user agent
Hello ;
could you please help me creating irule to send traffic to specific pool if its comes from IE6,7 and 8 and rest to default pool .
Your kind assistance is highly appreciated.
mb...
nitass
Employee
e.g.
Virtual server with multiple pools - distribute based on browser types
https://devcentral.f5.com/questions/virtual-server-with-multiple-pools-distribute-based-on-browser-types
mbamusa_59409
Sep 02, 2013Nimbostratus
thank you for your reply . i created the following (can we combine the first 3 conditions in 1 using OR).
when HTTP_REQUEST {
if {[string tolower [HTTP::header User-Agent]] contains "msie6" }{
pool Pool1
} elseif {[string tolower [HTTP::header User-Agent]] contains "msie7" }{
pool Pool
} elseif {[string tolower [HTTP::header User-Agent]] contains "msie8" }{
pool Pool1
}else {
pool Pool2
}
}
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