Forum Discussion
mbamusa_59409
Nimbostratus
Sep 02, 2013irule 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...
Kevin_Stewart
Employee
Sep 02, 2013Try:
when CLIENT_ACCEPTED {
set default_pool [LB::server pool]
}
when HTTP_REQUEST {
if { [string tolower [HTTP::header User-Agent]] contains "blah" } {
pool ms_pool
} else {
pool $default_pool
}
}
Change "blah" to a unique value in the IE User-Agent header, and change ms_pool to the name if your MS 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