Forum Discussion
MohanK
Altostratus
Oct 16, 2020iRule for redirecting the traffic of GoogleBot to a different pool using X-Header Value
We need to redirect Google Bots traffic to another Pool, What is the effective and simple iRule I can use to accomplish that ? We can filter the traffic using X-Header Value, which is set to value "...
Oct 16, 2020
Hi MohanK,
when HTTP_REQUEST {
if { [HTTP::header X-Forwarded-For] equals "8" && [string tolower [HTTP::header User-Agent]] contains "googlebot" } {
pool A
}
else {
pool default
}
}
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