[squid-users] Correct Syntax for ACL?
Hussam Al-Tayeb
hussam at visp.net.lb
Wed May 27 20:11:22 UTC 2015
On Wednesday 27 May 2015 22:03:14 Walter H. wrote:
> Hello,
>
> would this be the correct syntax:
>
> acl crl-file url_regex -i \.crl$
>
> or need it to be
>
> acl crl-file url_regex -i "\.crl$"
>
> 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?
>
> Thanks,
> Walter
This is what I am using right now.
acl crlfiletype rep_mime_type application/x-pkcs7-crl
store_miss deny crlfiletype
acl crl url_regex .crl$
cache deny crl
More information about the squid-users
mailing list