Forum Discussion
Steve_Brown_882
Feb 18, 2011Historic F5 Account
What you have will work for a single user agent, but you might want to add a number of them. You might try something like this and add all the user agents you want to block. I found a good list of these user agents here.
http://www.user-agents.org/index.shtml?t_z
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::header "User-Agent]] {
"*googlebot*" -
"*yahooseeker" -
"*etc*" { drop }
default { return}
}