[squid-users] Correct Syntax for ACL?

Amos Jeffries squid3 at treenet.co.nz
Wed May 27 23:22:04 UTC 2015


On 28/05/2015 8:18 a.m., Serge Fonville wrote:
> Hi,
> 
> how does squid distinquish between a file containing rules
>> e.g. acl acl-file url_regex -i "/etc/url-acl.squid"
>>  or the rule itself
>> e.g.  acl acl-rule url_regex -i "\.exe$"
>> with the same acl-type?
>>
> From http://www.squid-cache.org/Doc/config/acl/
> 
> Every access list definition must begin with an aclname and acltype,
> 	followed by either type-specific arguments or a quoted filename that
> 	they are read from.
> Seems to suggest that using "s means the argument is a file.

Correct.

Amos



More information about the squid-users mailing list