[squid-users] External acl syntax for multiple FORMAT specifications

From: Davies, Glen <Glen.Davies@dont-contact.us>
Date: Wed, 2 Apr 2003 11:22:22 +1200

Hi
Can't seem to find anything on this in documentation or archives,
apologies if I couldn't see it for looking. What is the correct syntax
for specifying multiple FORMAT option for an external_acl_type. I want
to pass %SRC and %LOGIN to the helper app I am writing, and all the
examples I could find only show on FORMAT.

I have tried
external_acl_type CCE_QUOTA ttl=240 %SRC,%LOGIN
/usr/local/squid/bin/acl_prog
And
external_acl_type CCE_QUOTA ttl=240 %SRC %LOGIN
/usr/local/squid/bin/acl_prog

But get a botched conf error when restarting squid. It works fine though
if I just include one FORMAT value.

Have also tried adding the second value to acl line
acl timecheck external CCE_ACL %LOGIN

This passes the second parameter through to the helper app ok but just
as the literal string %LOGIN rather than variable.

Any help would be much appreciated.

Regards
Glen Davies
Received on Tue Apr 01 2003 - 16:22:59 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:14:35 MST