Re: [squid-users] ACL question

From: Duane Wessels <>
Date: Fri, 20 Feb 2004 13:57:17 -0700 (MST)

On Fri, 20 Feb 2004, Ballou, Matthew wrote:

> Hello,
> Could someone give me an example of the synatax in setting up squid
> to prevent downloads of certain files (Zip, Exe for example).
> I checked out the Archive posts but I dont seem to have it right.
> acl Downloads urlpath_regex .\exe$
> http_access deny Downloads

thats pretty close. You probably want \.exe instead.
Other than that it should work, although it does depend on
where you put the "deny Downloads" line in relation to all
of the other http_access lines.

Duane W.
Received on Fri Feb 20 2004 - 13:57:18 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:02 MST