Re: ACL Question

From: Thilo Manske <Thilo.Manske@dont-contact.us>
Date: Thu, 22 Apr 1999 12:52:19 +0200

On Wed, Apr 21, 1999 at 05:04:06PM -0700, Greg Cornell wrote:
> acl allowed_hosts srcdomain wwc wwc.edu # To allow our local machines
> access
> acl ProxyAuth proxy_auth # To allow our satellite campus
> access

> http_access allow allowed_hosts # To allow our local machines access
> http_access allow ProxyAuth # To allow our satellite campus access
> http_access deny all # Squid default

> icp_access allow allowed_hosts # To allow our local machines access
> icp_access allow ProxyAuth # To allow our satellite campus access
> icp_access deny all # Squid default
>
> The problem is that it asks everybody for a username/password, even if they
> match the "allowed_hosts" line. Is there any way of telling squid to only
> ask for a username/password if they aren't on our local network?
Hmmm. Have you tried this?
http_access allow !allowed_hosts ProxyAuth
icp_access allow !allowed_hosts ProxyAuth
Just an idea, I can't test it...

Bye,
  Thilo.

-- 
Dies ist Thilos Unix Signature! Viel Spass damit.
Received on Thu Apr 22 1999 - 05:05:10 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:45:54 MST