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

From: Cameron Lowe <c_lowe@dont-contact.us>
Date: Sun, 23 Dec 2001 22:36:31 +1100

Not sure if this would work but you could try *.exe or .exe
----- Original Message -----
From: Root@itcserra.net <root@itcserra.net>
To: Dave Raven <dave@reason.za.org>
Cc: <squid-users@squid-cache.org>
Sent: Monday, December 24, 2001 12:07 AM
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:36:54 MST

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