How do I connect these two iRule events together so that “ACCESS_POLICY_AGENT_EVENT” event occurs only when the “HTTP_REQUEST” event occurs? Any help would be greatly appreciated. See below:
when HTTP_REQUEST {
if { [http_uri] equals “/loginpage” }{
log local0. “LOGIN PAGE accessed by [IP::remote_addr]”
}
}
When ACCESS_POLICY_AGENT_EVENT {
if {something unique}{
log local0. “Something unique happened”
}
}