RE: [squid-users] ACL Question

From: Adam Aube <aaube@dont-contact.us>
Date: Wed, 20 Aug 2003 08:28:52 -0400

> I have a little bit question about ACL blocking the
> downloading.
> here's my squid.conf some line

> acl download url_regex "/path/to/denydownload.txt"
> acl POST method POST
> http_access deny download !POST

> here's my denydownload.txt

Try replacing with the following:

acl download url_regex -i "/path/to/denydownload.txt"

[denydownload.txt]
\.exe$
\.zip$

I think that will do what you want. You could have saved
yourself some time and frustration by checking the archive
for "block exe file", or on Google:

squid-users "block exe file".

Adam
Received on Wed Aug 20 2003 - 06:28:58 MDT

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