Search squid archive

Re: squid dstdomain www. regex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 14 Feb 2011 17:35:17 -0500, alexus wrote:
is there a way for me to block a list of domains that's reside in
outside file and somehow append a small regular expression in front of
it.

That would be using regex. Not dstdomain. Two VERY different algorithms.

the problem is that list contains only domains and if i use dstdomain
then people put www. in front of domain and squid doesn't catch it :(

any solution?

dstdomain performs a FQDN-order scan of the domain segments (right to left). To ignore any on the left-hand side simply start the dstdomain entry with a dot (.).

eg:
 acl example dstdomain .example.com


Amos


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux