Forum Discussion
Rabbit23_116296
Apr 01, 2015Nimbostratus
iRule to disable APM not working as expected
when HTTP_REQUEST {
set header [HTTP::header "User-Agent"]
log local0. "Before Match --- Header is: $header"
if {[string tolower [HTTP::header "User-Agent"]] contains "mac os x" && [str...
Michael_Jenkins
Apr 02, 2015Cirrostratus
If your request has any of the apm cookies, you may need to remove them from that request. I've had weird issues like that.
so, perhaps your iRule could do something like this:
when HTTP_REQUEST {
if {[string tolower [HTTP::header "User-Agent"]] contains "mac os x" && [string tolower [HTTP::uri]] equals "/ews/exchange.asmx"} {
log local0. " Disable access for [HTTP::uri]"
ACCESS::disable
HTTP::cookie remove "MRHSession"
HTTP::cookie remove "LastMRH_Session"
} else {
log local0. " [HTTP::uri]"
}
}
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