Re: [squid-users] blocking all but a few sites

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 07 Apr 2001 00:56:30 +0200

eric krieger wrote:
[...]

> http_access allow restrained_access
> http_access deny all_url !unblockedsites2
> http_access allow blocked_all

Should work I think (but there was lots of rules with very little
explanation of your goals, so I might have missed something), but is is
usually easier to combine the acl group with what they are allowed to
acces as in:

http_access allow restrained_access
http_access allow blocked_all unblockedsites2
http_access deny all

This way you can also move the blocked_all access above the other
filters to not collide with blockedsites/files filtering...

--
Henrik Nordstrom
Squid hacker
Received on Fri Apr 06 2001 - 17:28:38 MDT

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