Forum Discussion
jaddie_85451
Nimbostratus
Oct 22, 2014User Agent Browser Rediret not working
Sorry for another browser user agent post..
I have this written this iRule and it is appears not to be working, it blocks the first line only and when I switch the order firefox with msie 8.0 it bl...
jaddie_85451
Nimbostratus
Oct 24, 2014Thank you both for your assistance, with your help I figured out what the issue was, the IE browser was being represented as a different version number due to Comparability (which I was assured was not being used) - my bad on assuming.
Anyway we figured it out and in the process used the following iRule.
Thank you both for your assistance
when HTTP_REQUEST {
Check the user agent
if { ( [class match [string tolower [HTTP::header User-Agent]] contains useragentstoredirect]) }{
HTTP::respond 302 Location "https://company.sharepoint.com/Help/Pages/Supported-Browsers.aspx"
} elseif { ( [HTTP::cookie exists SITEA] ) } {
HTTP::respond 302 Location https://company.sharepoint.com[HTTP::uri]
} else {
HTTP::respond 302 Location "https://spo.companyapps.com/Help/Communication/LoginExperience/Internal/Internal_1.html" "Set-Cookie" "SITEA=1;path=/"
}
}
useragentstoredirect = data group list
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
