> I have a huge txt file with domains that I want to ban, like this:
>
> .dom.com
> .dom2.net
> .....etc
>
> I not sure I i can do this at my acl configuration
>
> acl banneddommains  dstdomain /path/file.txt

RTFM :-)

>From squid.conf;
#  TAG: acl
#       Defining an Access List
#
#       acl aclname acltype string1 ...
#       acl aclname acltype "file" ...
#
#       when using "file", the file should contain one item per line

So you just need to put quotes ie.
acl banneddommains  dstdomain "/path/file.txt"

Reply via email to