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.

Reply via email to