Forum Discussion
collinz1_17223
Jun 06, 2011Nimbostratus
irule active_members <1 and MSIE 7
I have an irule that returns HTML when all pool members are down, this works fine, hower what i now want to do is return different HTML if users are using IE7. It would be great to be able to return...
collinz1_17223
Jun 06, 2011Nimbostratus
i have setup a data group (called msie) with string values of msie 6 & msie 7 and attempted to reference the group in an irule, but it doesn't appear to be working. Traffic seems to be matching my "else" statement.
when HTTP_REQUEST {
if {[active_members [LB::server pool]] < 1} {
if {[class match [HTTP::header User-Agent] equals "msie" ] } {
do something
} else {
do something else
}
}
}
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