Forum Discussion
J__Warner_48356
Nimbostratus
Oct 26, 2016User-Agent redirect to use any browser except IE
Looking through many different posts and have not found an irule that works my requirements. I am looking to have the irule detect if URL is opened in IE and auto redirect in Chrome or Firefox browse...
Stanislas_Piro2
Cumulonimbus
Oct 26, 2016you can try this irule:
when HTTP_REQUEST {
Check if the URI is /maintenance
if {[string tolower [HTTP::header "User-Agent"]] contains msie} {
Send an HTTP 200 response with a Javascript
HTTP::respond 200 content \
"Browser redirectinsert your code herebody>\
Wrong browser, we will try to start a real internet browser :)" "Content-Type" "text/html"
return
}
}
}
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