Re: [squid-users] configuring external acls in squid 2.5stable6 on fc3

From: Visolve Squid <squid@dont-contact.us>
Date: Sat, 17 Jun 2006 17:55:00 +0530

ankush grover wrote:

> hey friends,
>
> I am using Squid 2.5 Stable 6 on FC3. I am trying to configure an
> external acl to make
> "request_body_max_size" work inside an acl.
>
> An example is given on this url
>
> http://www.mail-archive.com/squid-users@squid-cache.org/msg16568.html
>
>
> the external acl defined in my squid.conf file
>
> external_acl_type request_body %{Content-Length} /etc/squid/request.sh
> acl external request_max_250 request_body 256000
>
> http_access allow mynetwork request_max_250
>
> Messages which we are getting while restarting the squid
>
> Stopping squid: 2006/06/16 14:01:12| squid.conf line 1816: acl
> external request_max_250 request_body 256000
> 2006/06/16 14:01:12| aclParseAclLine: Invalid ACL type 'request_max_250'
> 2006/06/16 14:01:12| squid.conf line 1900: http_access allow mynetwork
> request_max_250
> 2006/06/16 14:01:12| aclParseAccessLine: ACL name 'request_max_250 not
> found.
>
> What is the best way of configure external acl's in squid ? An example
> will be very helpful
>
> Thanks & Regards
>
> Ankush Grover

Hello Grover,

Your acl format is incorrect "acl external request_max_250 request_body
256000 ". You can try with "acl request_max_250 external request_body
2560000

-- 
Thanks,
Visolve Squid Team,
http://squid.visolve.com
Received on Sat Jun 17 2006 - 06:25:03 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Jul 01 2006 - 12:00:01 MDT