Re: [squid-users] Re: blocking all download

From: Dave Raven <dave@dont-contact.us>
Date: Sun, 23 Dec 2001 13:19:09 +0200

yes. try urlpath_regex .mp3|.exe|.zip I suspect.

----- Original Message -----
From: "Root@itcserra.net" <root@itcserra.net>
To: "Dave Raven" <dave@reason.za.org>
Cc: <squid-users@squid-cache.org>
Sent: Sunday, December 23, 2001 3:07 PM
Subject: [squid-users] Re: blocking all download

> >
> > 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:21:50 MST

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