The formats specifications are space separated.

Regards
Henrik


"Davies, Glen" wrote:
> 
> 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

Reply via email to