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...
Kevin_Stewart
Sep 02, 2013Employee
Try:
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.
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