Forum Discussion
sfracass_83515
Nimbostratus
Apr 11, 2008iRule to block networks works, sometimes.....
I just want to block googlebot requests to certain virtual servers at the LTM but this rule doesn't seem to work. Oddly enough, when I change the IP values to block my own internal network subnets at ...
Apr 11, 2008
Did you log the value of IP::remote_addr to verify it's correct when googlebot is trying to access it?
Wouldn't it be simpler to use a user-agent test?
when HTTP_REQUEST {
if { [string tolower [HTTP::header "User-Agent"]] contains "googlebot" } {
reject
}
}This would block googlebot from any source network and is very easy to test with the user-agent switcher in FireFox.
-Joe
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
