<div dir="auto">Thanks a lot Amos, as always you have been very helpful<div dir="auto"><br></div><div dir="auto">Much appreciated mate</div><div dir="auto"><br></div><div dir="auto">Rob</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 5 May 2020, 14:55 Amos Jeffries, <<a href="mailto:squid3@treenet.co.nz">squid3@treenet.co.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 6/05/20 1:39 am, robert k Wild wrote:<br>
> Thanks Amos,<br>
> <br>
> so how would I allow these urls with a wild card then <br>
> <br>
> <a href="Http://domain.com/path/1/to/any/where" rel="noreferrer noreferrer" target="_blank">Http://domain.com/path/1/to/any/where</a><br>
> <br>
> <a href="Http://domain.com/path/2/to/any/where" rel="noreferrer noreferrer" target="_blank">Http://domain.com/path/2/to/any/where</a><br>
> <br>
> Would I do this<br>
> <br>
> <a href="Http://domain.com/path/*" rel="noreferrer noreferrer" target="_blank">Http://domain.com/path/*</a><br>
> <br>
<br>
No. As the url_regex ACL name says, these are regex patterns.<br>
<br>
You have to use special anchors (^ and $) to *prevent* them being<br>
wildcard matches.<br>
<br>
Simply do like this:<br>
<br>
  ^<a href="http://domain" rel="noreferrer noreferrer" target="_blank">http://domain</a>\.com/path/<br>
<br>
<br>
<br>
Cheers<br>
Amos<br>
_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org" target="_blank" rel="noreferrer">squid-users@lists.squid-cache.org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer noreferrer" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br>
</blockquote></div>