Search squid archive

Re: wildcard for numbers in url whitelisting

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

 



i think i get you, so have two acl lists, like

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

On Thu, 15 Jul 2021 at 11:59, robert k Wild <robertkwild@xxxxxxxxx> wrote:
Thanks Amos, if I change to that acl, I imagine I will need to redo all my whitelist files

Ie

.Google.com

Will be

.\google\.com

Is that correct?

On Thu, 15 Jul 2021, 11:53 ‪Amos Jeffries‬, <squid3@xxxxxxxxxxxxx> wrote:
You will need to change to ssl::server_name_regex ACL type to use regex patterns.

Also, take care that all values are valid regex pattern and characters which are special in regex are properly escaped. Eg the dots.

Amos


--
Regards,

Robert K Wild.
_______________________________________________
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