[squid-users] Re: blocking all download

From: <[email protected]>
Date: Sun, 23 Dec 2001 13:07:32 GMT

>
> acl lanip dst 192.16.1.0/255.255.255.0
> acl blsite urlpath_regex mp3 exe zip ace mpg mpeg wmv avi rm rar gz
> (ETC...)
> http_access deny lanip blsite
> http_access allow all
>
>
> Perhaps urlpath_regex must be url_regex ... but I'm sure with some
> experimentaion
> you can work it out.

Hi Dave and thank you for your nice interest; i would also like tell you
that i have just tried it yesterday evening and it works; the only problem
is that, by this way, some similar addresses are blocked: as examples, if
someone enter http://www.address.com/exe/index.html it is blocked.

Is there a way to block ONLY the extension at the end of the address-line,
as example www.address.com/exe/download/napster.exe?
                                       -----------

Thank you again, Merry Christmas and Happy New Year too!

Bye,

Francesco Collini
Received on Sun Dec 23 2001 - 04:14:34 MST

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