[squid-users] Re: how ccan i block aplication and media dfile downloading in squid

From: Adam Aube <aaube01@dont-contact.us>
Date: Wed, 09 Jun 2004 13:14:46 -0400

aol@nexlinx.net.pk wrote:

> my acl is for blocking downloading
> acl dlb urlpath_regex -i .exe$ .mp3$ .mov$ .mpg$ .mp?$ .avi$ .rm$
> .wma$ .mpeg$
> http_access deny dlb
> but it is not working and also how can i block down loading in a time
> range

The '.' is a special character in regex matching. If you want to use a
literal '.', you must escape it with a backslash, like this:

\.exe$

Also, can you clarify "it is not working"? Post your squid.conf (without
comments or blank lines) and access.log entries for the content you are
trying to block.

Adam
Received on Wed Jun 09 2004 - 11:20:07 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jul 01 2004 - 12:00:02 MDT