ltm rule command ACCESS enable
iRule(1) BIG-IP TMSH Manual iRule(1)
ACCESS::enable
Enables the access control enforcement for a particular request URI.
SYNOPSIS
ACCESS::enable
DESCRIPTION
This command enables the access control enforcement for a particular request URI.
ACCESS::enable
* Enables 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-11.0.0 --First introduced the command.
BIG-IP 2020-06-23 iRule(1)