ACCESS::enable¶
Description¶
This command enables the access control enforcement for a particular
request URI.
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
}
}
}