Forum Discussion
Carlos_Alperin
Nimbostratus
Feb 21, 2017HTTP::header
I have issues implementing class match on [HTTP::header "User-Agent"] contains "Mobile-Agents" DataGroup.
I have LTM v11.5.4 and it seems that it reset the request all the time.
I have a UR...
JG
Cumulonimbus
Feb 21, 2017Would the following be what you are really after:
when HTTP_REQUEST {
if { [class match [HTTP::header "User-Agent"] contains Mobile-Agents] or [HTTP::path] equals "/"} {
HTTP::redirect "https://xxxxx.com/zzzzapp"
}
}
?
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