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. HTH Kind regards/met vriendelijke groet, Serge Fonville http://www.sergefonville.nl 2015-05-27 22:11 GMT+02:00 Hussam Al-Tayeb <hus...@visp.net.lb>: > 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 > > _______________________________________________ > squid-users mailing list > squid-users@lists.squid-cache.org > http://lists.squid-cache.org/listinfo/squid-users >
_______________________________________________ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users