[squid-users] How to block websites by string or substring

Amos Jeffries squid3 at treenet.co.nz
Mon Nov 23 01:01:02 UTC 2015

On 23/11/2015 10:52 a.m., Jens Kallup wrote:
> Hello,
> how can i block websites by name or regex?

By using regex patterns instead of exact-matches.

We really can't give much more useful help than that. You have omitted
any mention of which of the two language layers you want to do the
matching in: SQL or Perl. Both have regex capabilities, and those are
very different changes to be made to your helper.

These other mystersious "things" you want to do may also affect the how
and why, or whether you should be using something else entirely.


More information about the squid-users mailing list