<div dir="ltr"><div>is anything wrong with this as it doesnt work</div><div><br></div><div>#HTTP_HTTPS whitelist websites<br>acl whitelist ssl::server_name "/usr/local/squid/etc/urlwhite.txt"<br><br>#HTTP_HTTPS whitelist websites regex<br>#acl whitelistreg ssl::server_name_regex "/usr/local/squid/etc/urlwhitereg.txt"<br><br>http_access allow activation whitelist
whitelistreg<br>http_access deny all</div><div><br></div><div>time being ive hashed out acl regex and deleted
whitelistregon my http access allow as it doesnt work</div><div><br></div><div>can you see anything wrong with it?<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 15 Jul 2021 at 12:17, robert k Wild <<a href="mailto:robertkwild@gmail.com">robertkwild@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>i think i get you, so have two acl lists, like</div><div><br></div><div>acl whitelist ssl::server_name "/usr/local/squid/etc/urlwhite.txt"</div><div>acl whitelist ssl::server_name_regex
"/usr/local/squid/etc/urlwhitereg.txt"</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 15 Jul 2021 at 11:59, robert k Wild <<a href="mailto:robertkwild@gmail.com" target="_blank">robertkwild@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Thanks Amos, if I change to that acl, I imagine I will need to redo all my whitelist files<div dir="auto"><br></div><div dir="auto">Ie</div><div dir="auto"><br></div><div dir="auto">.Google.com</div><div dir="auto"><br></div><div dir="auto">Will be</div><div dir="auto"><br></div><div dir="auto">.\google\.com</div><div dir="auto"><br></div><div dir="auto">Is that correct?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 15 Jul 2021, 11:53 Amos Jeffries, <<a href="mailto:squid3@treenet.co.nz" target="_blank">squid3@treenet.co.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">You will need to change to ssl::server_name_regex ACL type to use regex patterns.<div><br></div><div>Also, take care that all values are valid regex pattern and characters which are special in regex are properly escaped. Eg the dots.<div><br>Amos</div></div></div></blockquote></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr"><div dir="ltr">Regards, <br><br>Robert K Wild.<br></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Regards, <br><br>Robert K Wild.<br></div></div>