Re: [squid-users] delay pools behaviour

From: Alex <alex@dont-contact.us>
Date: Tue, 13 Jul 2004 15:08:47 +0300

----- Original Message -----
From: "maes" <maes@pfu.dp.ua>
To: <squid-users@squid-cache.org>
Sent: Tuesday, July 13, 2004 11:35 AM
Subject: Re: [squid-users] delay pools behaviour

> Hello Alex,
>
> Monday, July 12, 2004, 1:22:02 AM, you wrote:
>
> [skip]
>
> A> acl files url_regex -i .exe .avi .mp3 .zip
> A> acl clients-low src 192.168.2.5 192.168.2.20 192.168.2.25
> A> acl clients-big src 192.168.2.6 192.168.2.7 192.168.2.10
> A> acl unlimited src 192.168.2.100 192.168.2.101
>
> A> delay_pools 2
> A> delay_class 1 3
> A> delay_class 2 3
>
> A> delay_parameters 1 -1/-1 -1/-1 8500/9000
> A> delay_parameters 2 -1/-1 -1/-1 17000/17500
>
> A> delay_access 1 deny unlimited
> A> delay_access 1 allow files clients-low
>
> A> delay_access 2 deny unlimited
> A> delay_access 2 allow files clients-big
>
> A> It seems to me that there is something wrong with this setup because
this
> A> limits not only downloading of files with specified extensions, but
instead
> A> it limits everything, including browsing. I think this is related to
the
> A> statements in acl files url_regex but I'm not sure.
>
>
> A> Alex Iruc
>
>
> try this:
>
> acl files urlpath_regex -i \.zip$ \.exe$ \.avi$ \.mp3$
>
> delay_access 1 deny unlimited
> delay_access 1 deny clients-big
> delay_access 1 allow files
> delay_access 1 deny all
>
> delay_access 2 deny unlimited
> delay_access 2 deny clients-low
> delay_access 2 allow files
> delay_access 2 deny all
>
>
>
> --
> Best regards,
> maes mailto:maes@pfu.dp.ua

Thanks, that did the job. It works great now.

Alex Iruc

-- 
This message has been scanned for viruses and
dangerous content, and is believed to be clean.
Received on Tue Jul 13 2004 - 06:08:49 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Aug 01 2004 - 12:00:01 MDT