Re: [squid-users] Allow user to download as much from just ONE server

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 31 Mar 2009 11:22:59 +1300

Truth Seeker wrote:
>
> Hi all,
>
> AS i had placed download restrcition for different groups, one of my user who is limited to download max of 2MB per object is not able to download files from our own external server, which is accessed through the proxy. As many of the files on that server is of 20, 25MB etc.
>
> So i would like to allow this user to download as much as from ONLY this single server and should be restricted from the entire Internet to 2MB per object.
>
> Is it possible to do this???

create an ACL that matches your internal servers (perhapse the same
dstdomain one you use to redirect the accel requests there?).

Add it as the firt reply restrictions line with a size of "none".

For example:
   reply_body_max_size none localSites
   reply_body_max_size 20 MB all

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13
   Current Beta Squid 3.1.0.6
Received on Mon Mar 30 2009 - 22:23:07 MDT

This archive was generated by hypermail 2.2.0 : Tue Mar 31 2009 - 12:00:03 MDT