Forum Discussion
SteveVernau_132
Nimbostratus
Mar 01, 2016APM irule
Hi I needed an irule to allow traffic through an APM enabled virtual server without running it agaiast the access policy if the url is /ews
I thought this would work:
1st non-working irule_...
Georgi
Nimbostratus
Nov 09, 2016We worked with F5 Support and support provided us with the following solution to disable APM policy for Exchange Web Services (EWS).
priority 1
when HTTP_REQUEST {
set is_disabled 0
if { [string tolower [HTTP::path]] starts_with "/ews" } {
if { [string tolower [HTTP::uri]] contains "wssecurity" } {
NTLM::disable
set is_disabled 1
set path [HTTP::path]
WEBSSO::disable
ACCESS::disable
HTTP::path _disable-$path
pool Exchange_External_oa_pool7
}
if { [string tolower [HTTP::uri]] contains "mrsproxy.svc"} {
set is_disabled 1
set path [HTTP::path]
NTLM::disable
WEBSSO::disable
ACCESS::disable
HTTP::path _disable-$path
pool Exchange_External_oa_pool7
COMPRESS::disable
CACHE::disable
}
}
if { [string tolower [HTTP::path]] starts_with "/autodiscover" } {
if { [string tolower [HTTP::uri]] contains "wssecurity" } {
NTLM::disable
set is_disabled 1
set path [HTTP::path]
WEBSSO::disable
ACCESS::disable
HTTP::path _disable-$path
pool Exchange_External_ad_pool7
}
if { [string tolower [HTTP::uri]] contains "autodiscover.svc"} {
set is_disabled 1
set path [HTTP::path]
NTLM::disable
WEBSSO::disable
ACCESS::disable
HTTP::path _disable-$path
pool Exchange_External_ad_pool7
COMPRESS::disable
CACHE::disable
}
}
}
when HTTP_REQUEST_RELEASE {
if { !$is_disabled } { return }
HTTP::path $path
unset is_disabled
}
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