Forum Discussion
2 Replies
Sort By
- Faruk_AYDINNimbostratus
Hi Guy,
Use this iRule :when HTTP_REQUEST { Check the requested HTTP uri switch -glob [string tolower [HTTP::uri]] { "/support*" - "/helpdesk*" { Disable APM for these uri ACCESS::disable } default { Enable APM for all other uris ACCESS::enable } } }
Hope it helps
Please mark it as answer if it works
Regards
- SajidCirrostratus
https://clouddocs.f5.com/api/irules/ACCESS__disable.html
BIG-IP APM Operations Guide for more info on clientless mode
Examples¶
when HTTP_REQUEST {
# Check the requested HTTP path
switch -glob [string tolower [HTTP::path]] {
"/apm_uri1*" -
"/apm_uri2*" -
"/apm_uri3*" {
# Enable APM for these paths
ACCESS::enable
}
default {
# Disable APM for all other paths
ACCESS::disable
}
}
}