Re: [squid-users] ACL's and blocking URL's

From: Adam Aube <aaube@dont-contact.us>
Date: Thu, 10 Jul 2003 19:35:50 -0400

>I currently have an ACL setup (using regex -i) to block certain
files from
>being viewed or downloaded (eg EXE, ZIP etc) which effects everyone
using
>the cache. I now have the requirement to allow certain users from
accessing
>some websites which require the unblocking of ZIP attachments so
i would
>like to ask if anyone can advise how to setup 2 completley seperate
regex -i
>statements in the config file. All our users have static ip's so
i think
>that will make it easier.

Easy enough:

acl programs url_regex -i \.exe$ \.zip$
acl program_users src 192.168.0.1 192.168.0.2

http_access allow programs program_users
http_access deny programs

Adam
Received on Thu Jul 10 2003 - 17:37:51 MDT

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