Re: [squid-users] Rearranging squid.conf file

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 05 May 2009 01:42:35 +1200

Oleg wrote:
> 1 and 2 - yes, 3 - no (I'm not seen that for a while)
>
> acl <name> <type> <path_to_file>
>

2 - you probably want this instead (matches any valid user):

acl authUsers proxy_auth REQUIRED

then you can:
  http_access deny !authUser

and not have to add <user1> etc on all the access lists any more.

3 - yes! (with 2.7+ or 3.0+)

squid.conf:
include /path/to/file

file:
http_access allow <useer1> <Time1> <user1IP>
...

> Jagdish Rao пишет:
>> Hi,
>>
>> The squid.conf is now increased to a very long listing. Can I have the
>> following
>>
>> 1. Instead of the ACL
>>
>> acl <user1> src <user1IP>
>>
>> Can I use an external file which will have the listing ?
>>
>> 2. Instead of the ACL
>> acl <user1> proxy_auth <user1>
>>
>> Can I use an external file which will have the listing ?
>>
>>
>> 3. Instead of the ACL
>>
>> http_access allow <useer1> <Time1> <user1IP>
>>
>> Can I use an external file which will have the listing ?
>>
>> Thanks
>>
>> Regards
>>
>> Jagdish
>>

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE14
   Current Beta Squid 3.1.0.7
Received on Mon May 04 2009 - 13:42:43 MDT

This archive was generated by hypermail 2.2.0 : Mon May 04 2009 - 12:00:02 MDT