[squid-users] Put URLs and URL regex in one text file

robert k Wild robertkwild at gmail.com
Thu May 19 18:01:08 UTC 2022


Hi all,

ATM in my squid.conf I have two acls, one for normal whitelist urls and one
for whitelist reg ex urls, like so

#HTTP_HTTPS whitelist websites

acl whitelist ssl::server_name "/usr/local/squid/etc/urlwhite.txt"

#

#HTTP_HTTPS whitelist websites regex

acl whitelistreg ssl::server_name_regex
"/usr/local/squid/etc/urlregwhite.txt"

#

http_access allow activation whitelist

http_access allow activation whitelistreg

http_access deny all


urlwhite.txt



.login.windows.net


urlregwhite.txt



^zzz-iobuckets-io.*.s3.amazonaws.com


How would I be able to combine both together to get rid of the whitelist
and just leave the whitelistreg

Thanks,
Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20220519/7e0453d8/attachment.htm>


More information about the squid-users mailing list