RE: [squid-users] access some sites without authentication

From: Chris Robertson <crobertson@dont-contact.us>
Date: Fri, 2 Dec 2005 10:11:56 -0900

> -----Original Message-----
> From: Hement Gopal [mailto:hementg@cns.wits.ac.za]
> Sent: Friday, December 02, 2005 2:14 AM
> To: squid
> Subject: [squid-users] access some sites without authentication
>
>
> Hi all
>
> Running 2.5Stable5 on Redhat 9
>
> I want to allow some of my clients to access certain sites without
> authentication
>
> i added the following lines in squid.conf :-
>
> acl no-auth url_regex -i "/usr/local/squid/etc/no-auth.txt"
>
> where no-auth.txt contains :
>
> [root@etc]# vi no-auth.txt
> www.plaxo.com
> utils.winantivirus.com
> toolbar.msn.com
>
> and the access rule is :-
>
> #http_access allow our_networks
> http_access allow non-restricted-users

This rule (I imagine) requires authentication information. Move it down below the next rule and see if that fixes things. Actually, if you move it to just above the first deny line...

> http_access allow no-auth
> http_access allow artworks-allowed-files artworks
> http_access deny files workdays
> http_access deny banned-clients
> http_access allow biol-users biol
> http_access deny biol-users
> http_access allow password
> http_access allow unrestricted-connections
> http_access deny connections
> http_access allow our_networks
> # And finally deny all other access to this proxy
> http_access deny all
>
> However, when i try and access one of the 'open' sites, I still get
> asked for authentication?
>
> I had this working at some point but it seems to have stopped
> and I can't make out where the problem lies :(
>
> Can anyone assist?
>
> Rgds,
> Hement Gopal
>
>

Chris
Received on Fri Dec 02 2005 - 12:11:57 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 31 2005 - 12:00:02 MST