On 11/07/2012 9:08 p.m., ml ml wrote:
Hello,
okay, this actually works:
acl DENY_ACCESS http_status 403
access_log /tmp/squid.deny.log squid DENY_ACCESS
Okay, but how can i now Debug which acl rule caused TCP_DENIED/403?
I only want to set my debug_options for the TCP_DENIED/403 requests...
You can't. The ACL code knows nothing of some future 403 state. It only
knows what it is checking and what it is checking against.
debug section 28 shows what ACLs are matching (or not), and why. Level
28,3 is usually the best for a short overview of what comparisons are
going on.
Amos