<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 11.00.10570.1001"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=150541212-15072021><FONT color=#0000ff
size=2 face=Arial>post a few lines from <FONT color=#000000 size=3
face="Times New Roman">"/usr/local/squid/etc/urlwhite.txt"</FONT><BR></FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px"
dir=ltr>
<DIV lang=nl class=OutlookMessageHeader dir=ltr align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>Van:</B> squid-users
[mailto:squid-users-bounces@lists.squid-cache.org] <B>Namens </B>robert k
Wild<BR><B>Verzonden:</B> donderdag 15 juli 2021 14:09<BR><B>Aan:</B> Amos
Jeffries<BR><B>CC:</B> squid-users@lists.squid-cache.org<BR><B>Onderwerp:</B>
Re: [squid-users] wildcard for numbers in url
whitelisting<BR></FONT><BR></DIV>
<DIV></DIV>
<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 class=gmail_attr dir=ltr>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="PADDING-LEFT: 1ex; BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0px 0px 0px 0.8ex">
<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 class=gmail_attr dir=ltr>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="PADDING-LEFT: 1ex; BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0px 0px 0px 0.8ex">
<DIV>Thanks Amos, if I change to that acl, I imagine I will need to redo
all my whitelist files
<DIV><BR></DIV>
<DIV>Ie</DIV>
<DIV><BR></DIV>
<DIV>.Google.com</DIV>
<DIV><BR></DIV>
<DIV>Will be</DIV>
<DIV><BR></DIV>
<DIV>.\google\.com</DIV>
<DIV><BR></DIV>
<DIV>Is that correct?</DIV></DIV><BR>
<DIV class=gmail_quote>
<DIV class=gmail_attr dir=ltr>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="PADDING-LEFT: 1ex; BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0px 0px 0px 0.8ex">
<DIV>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 class=gmail_signature dir=ltr>
<DIV dir=ltr>Regards, <BR><BR>Robert K
Wild.<BR></DIV></DIV></BLOCKQUOTE></BODY></HTML>