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

2006-06-17 Thread Visolve Squid

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 
256



--
Thanks,
Visolve Squid Team,
http://squid.visolve.com


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

2006-06-16 Thread Chris Robertson

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


This line should be...

acl request_max_250 external 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


Chris


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

2006-06-16 Thread ankush grover

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