[squid-users] acl for matching URLs (non-regex)
squid3 at treenet.co.nz
Thu Oct 31 08:31:32 UTC 2019
On 28/10/19 6:10 am, Felix Leimbach wrote:
> I want to include the URLhaus blacklist  to protect my users from malware, since squidblacklists.org doesn't seem to be actively maintained anymore (RIP Ben Nichols).
> However there does not seem to exist an acl type that can match plain URLs in this form:
> Note the URL is not regex-friendly so url_regex is not an option.
What isn't regex friendly about it?
> How do people block exact URLs?
By making a regex which can only match that exact URL.
acl foo url_regex
More information about the squid-users