Re: [squid-users] ACL Question

From: PASCUAL, Mike A. <mapascual@dont-contact.us>
Date: Thu, 21 Aug 2003 10:35:44 +0800

Thanks to all of you guys,

Mike

----- Original Message -----
From: "Adam Aube" <aaube@firstindependent.net>
To: <squid-users@squid-cache.org>
Sent: Wednesday, August 20, 2003 8:28 PM
Subject: RE: [squid-users] ACL Question

> > 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 - 20:26:46 MDT

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