Re: [squid-users] How to Use "deny_info" with more than one http_access ACL

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 17 Dec 2002 21:30:49 +0100

Stop flooding the list with the same question. Give us some time to read
your question before reseding (good practice is about a week).

See the Suqid FAQ on how to debug acl related questions.

And yes it is in this specific case. Just define one deny_info per acl.
Otherwise (with the exception of proxy_auth) deny_info applies to the
last acl on the http_access line and then needs to rewrite your
http_access rules slightly to be able to differentiate the different
cases for deny_info.

Regards
Henrik

Abdul-Azeez wrote:
>
> Hi all,
>
> I am running squid2.5.STABLE1 on freebsd.
> I have problem when I try to use the "deny_info" with more than one ACL on a
> "http_access line.
>
> i have a configuration that's similar to the following:
> .
> .
> acl acl_1 proxy_auth REQUIRED
> acl acl_2 max_user_ip -s 1
> .
> .
> deny_info ERR_ACCESS_DENIED_acl1 acl_2
> http_access deny !acl_1 acl_2
> .
> .
> .
> Is it possible to display error message "ERR_ACCESS_DENIED_acl1" when wrong
> username/password is entered and error message "ERR_ACCESS_DENIED_acl2 (if i
> create itt) when a user attempts to sign on from more than one computers?
>
> The ACLs are matched but the correct error messages are not displayed.
>
> Any help ?
>
> Abdul
> Lagos, Nigeria
Received on Tue Dec 17 2002 - 14:43:03 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:12:07 MST