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

From: Hement Gopal <hementg@dont-contact.us>
Date: Tue, 06 Dec 2005 09:18:13 +0200

Hi Chris

My entire rule base in included below.

Can you pls check...i don't think I have another rule above this one

Rgds,
Hement

Chris Robertson wrote:

>>-----Original Message-----
>>From: Hement Gopal [mailto:hementg@cns.wits.ac.za]
>>Sent: Sunday, December 04, 2005 10:03 PM
>>To: Chris Robertson
>>Cc: squid
>>Subject: Re: [squid-users] access some sites without authentication
>>
>>
>>Apologies
>>
>>My msg should have read "i want all my clients to access
>>certain sites
>>non-authenticated". Moving the rule as Chris suggested has not helped.
>>
>>Rgds,
>>Hement
>>
>>
>
>
> Then there must be an other http_access rule that requires authentication.
>
> Given...
>
> acl no-auth url_regex -i "/usr/local/squid/etc/no-auth.txt"
>
> ...where no-auth.txt contains...
>
> www.plaxo.com
> utils.winantivirus.com
> toolbar.msn.com
>
> ...and...
>
> http_access allow no-auth
> http_access allow non-restricted-users # First line requiring authentication
> http_access allow artworks-allowed-files artworks
> etc.
>
> ...any requests for pages matching no-auth will be allowed through without requiring authentication. If the user tries to go to another page (or if the browsers start page is set to something else) authentication will be requested.
>
> As a side note, using a dstdomain acl instead of a url_regex is a good habit to be in, as it scales much better.
>
> Chris
>
Received on Tue Dec 06 2005 - 00:16:47 MST

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