Forum Discussion
Ken_Leclercq_50
Nimbostratus
Jun 19, 2013Block IE6
Let me start by saying this..... I am by no means an expert with my F5 LTM. I'm quite new to the administration of it.
Does anyone know of a way to detect users using IE6, and stop them from a...
Ken_Leclercq_50
Nimbostratus
Sep 25, 2013Thanks for your input. That did the trick. However, we now want to make a tweek to the rule. We want to exclude certain IPs from being affected by the rule. I'm thinking that the use of a Data Group would do the trick. I tried modifying the rule as follows:
when HTTP_REQUEST {
if { [HTTP::header "User-Agent"] contains "MSIE 6" and [IP::client_addr] not equals $::DataGroupName} {
log local0. "[IP::client_addr]:[TCP::client_port]: Using IE 6"
HTTP::redirect "http://www.example.com/newlocation.html"
}
}
It doesn't like my syntax. Am I on the right track to accomplish this? Is there a better way? Maybe using a Stream profile in the iRule to replace the user-agent info from the IP's in the datagroup before we block IE6?
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
