ACCESS_ACL_DENIED

Description

This event is triggered when a resource request fails to meet the access control criteria and is denied access. This event is a notification to the administrator that a resource request has been denied to go through in the network. You can use this event to evaluate custom logic which is not supported natively in ACLs. For example you could send a specific response based on specific session variables or HTTP/SSL properties of the user. This event may also be useful for logging purposes. You can use ACCESS::session commands to get and set session variables in this event and ACCESS::acl commands to enforce more ACLs in addition to TCP/SSL/HTTP iRule commands.

Examples

when ACCESS_ACL_DENIED {
      ACCESS::acl eval "additional_acl"
}