Forum Discussion
Sajid
Jul 26, 2021Cirrostratus
URL and User-Agent base allow
Trying to implement irule for a virtual server to check User-Agent = Internet Explorer only (application compatible issue) and URL if the condition is true allows URL else message your brows...
Sajid
Jul 27, 2021Cirrostratus
when HTTP_REQUEST {
if { ([class match [HTTP::header "User-Agent"] contains supported_browser]) && ([HTTP::uri] contains "/INB" ) } {
return
}
else {
HTTP::respond 200 content "Browser not supported, kindly use IE 11.0 only" }
}
only else statement working with IE and firefox.
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