Search squid archive

Re: access some sites without authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx]
Sent: Sunday, December 04, 2005 10:03 PM
To: Chris Robertson
Cc: squid
Subject: Re:  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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux