Re: [squid-users] Specifying exceptions to auth - how?

From: Robert Collins <robert.collins@dont-contact.us>
Date: Fri, 22 Jun 2001 23:19:28 +1000

Nearly right!
Standard practice is to declare all the ACL's in one place, and then use
them later on..

#ACL definitions.
#authentication for all
acl auth proxy_auth REQUIRED
# liberate access without auth
# ----------------------------
acl noauth src 192.168.1.155

#http access rules
http_access allow noauth
http_access allow auth all

The signifcicant there is the order of the two http_access rules - they
are checked top down.

Rob

----- Original Message -----
From: "Mads Rasmussen" <mads@cit.com.br>
To: <squid-users@squid-cache.org>
Sent: Friday, June 22, 2001 11:08 PM
Subject: [squid-users] Specifying exceptions to auth - how?

Hi there,

I need to specify one machine that have to access the proxy without
authenticating.

Could it be done like this?

#authentication for all
acl auth proxy_auth REQUIRED
http_access allow auth all

# liberate access without auth
# ----------------------------
acl noauth src 192.168.1.155
http_access allow noauth

Please respond, my manager is breathing on my neck

Regards,

Mads
Received on Fri Jun 22 2001 - 07:17:37 MDT

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