acl download urlpath_regex \.exe$ \.exe\?.*$
http_access download weekend
http_access deny all
\.exe\?.*$ will block any parameter after .exe like
http://www.url.com/file.exe? Will
block by squid and
\.exe$ wil block siple url wit out "?"
On Thu, 28 Oct 2004 19:54:51 +0700, Luu Trung Duong <luutd@ctu.edu.vn> wrote:
> Oh, sorry
>
> I rewite them as
>
> If the users type like
>
> http://www.abc.com/setup.exe, I can not download
>
> If the users type like
>
> http://www.abc.com/setup.exe? ( with a question mark), they can download
>
>
>
>
> -----Original Message-----
> From: Henrik Nordstrom [mailto:hno@squid-cache.org]
> Sent: Thursday, October 28, 2004 7:50 PM
> To: Luu Trung Duong
> Cc: 'squid-users'
> Subject: Re: [squid-users] Problem with ACL ???
>
> On Thu, 28 Oct 2004, Luu Trung Duong wrote:
>
> > If the users type like
> >
> > http://www.abc.com/setup.exe, I can not download
> >
> > If the users type like
> >
> > http://www.abc.com/setup.exe, they can download
>
> Where is the difference? Looks very much the same to mee.. (and should match
> your acl..)
>
> Regards
> Henrik
>
>
-- Syed Kashif Ali +923004295604 MSN:- kbukhari@msn.com 11-B Toheed Park Gulshen-e-Ravi Lahore, PakistanReceived on Fri Oct 29 2004 - 15:35:21 MDT
This archive was generated by hypermail pre-2.1.9 : Mon Nov 01 2004 - 12:00:02 MST