Re: [squid-users] Deny access to specified URL`s

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 4 Sep 2002 02:14:44 +0200

On Tuesday 03 September 2002 15.37, stuart.lamble@batepro.co.za wrote:
> Hi SUG
>
> How can I deny access to specified web sites.
> I pull a list of sites that the users are accessing each day, I
> then want to block the BAD non work related sites.
> Like porn sites etc.

By denying them in http_access before where you allow access..

http_access is a ordered list of rules. The first rule that fully
matches tells if the request is to be allowed or denied.

http_access allow/deny acl1 AND acl2 AND acl3 ...
OR
http_access allow/deny acl4 AND acl5 AND acl6 ...
...

Regards
Henrik
Received on Tue Sep 03 2002 - 18:28:06 MDT

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