Search squid archive

Re: Whitelist domain ignored?

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

 



On 10/05/2016 01:15 PM, Jose Torres-Berrocal wrote:
> I would like to know how
> I should enter the domains as to make it work correctly using
> dstdom_regex behaving like dstdomain

To map any leaf FQDN "foo.bar.baz":

  1. start with "^";
  2. add "foo.bar.baz" where every period is escaped with "\";
  3. end with "$".

  In summary, use the following regular expression: ^foo\.bar\.baz$


To map a whole ".bar.baz" domain, including any subdomains, use the
following two regular expressions:

  \.bar\.baz$
  ^bar\.baz$

This untested suggestion is based on how regular expressions work; it
assumes that Squid does not add anything to the specified expressions.


HTH,

Alex.

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




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

  Powered by Linux