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?
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.
HTH
2015-05-27 22:11 GMT+02:00 Hussam Al-Tayeb <hussam@xxxxxxxxxxx>:
This is what I am using right now.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
acl crlfiletype rep_mime_type application/x-pkcs7-crl
store_miss deny crlfiletype
acl crl url_regex .crl$
cache deny crl
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users