ltm rule command ACCESS disable
iRule(1) BIG-IP TMSH Manual iRule(1)
ACCESS::disable
Control enforcement for a particular request URI.
SYNOPSIS
ACCESS::disable
DESCRIPTION
This command disables the access control enforcement for a particular
request URI. The request is passed through access control module
without any access control checks (excludes valid session check as well
as policy allowed check).
ACCESS::disable
* Disable the access control enforcement for a particular request
URI.
* Requires APM module
RETURN VALUE
VALID DURING
HTTP_REQUEST, HTTP_PROXY_REQUEST
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
}
}
}
HINTS
SEE ALSO
CHANGE LOG
@BIGIP-10.1.0 --First introduced the command.
BIG-IP 2017-01-31 iRule(1)