<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font size="+1">Hello again,<br>
<br>
After further testing, the looks like the only thing being regex'd
against is the domain name. I shrunk the RE down to just:<br>
<br>
acl user_allowed url_regex http # nothing more, just 'http'<br>
<br>
and it <i><b>still</b></i> failed!!! It's as if the "whole url"
(claimed by the docs) is <i>not</i> being compared against. I'm
just posting this here as an FYI...no solution has been found. :(<br>
<br>
--David<br>
</font><br>
<div class="moz-cite-prefix">On 7/22/20 7:22 PM, David A. Gershman
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:09d24d10-df92-2832-5828-b1cabdb4e308@dagertech.net">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<font size="+1">Hello,<br>
<br>
I have the following in my config file:<br>
<br>
</font><font size="+1"><tt> acl user_allowed url_regex ^<a
class="moz-txt-link-freetext" href="https://example\.com/"
moz-do-not-send="true">https://example\.com/</a></tt></font><font
size="+1"><br>
<br>
but surfing to that site fails (authentication works fine). My
ultimate goal is to have an RE comparable to the PCRE of:<br>
<br>
</font><font size="+1"><tt> ^https?:\/\/.*?example\.com\/</tt></font><font
size="+1"><br>
<br>
While the PCRE works just fine in other tools (my own scripts,
online, etc.), I was unable to get it to work within Squid3. As
I stripped away pieces of the RE in the config file, the only RE
which seemed to work was:<br>
<br>
</font><font size="+1"><tt> example\.com</tt></font><font
size="+1"><br>
<br>
...not even having the ending '/'. However, this obviously does
not meet my needs.<br>
<br>
I'm on Debian 10 and am unable to determine which RE library
Debian compiled Squid3 against (I've got a Tweet out to them to
see if they can point me in the right direction).<br>
<br>
Ultimately, I would like to get Squid to use PCREs.<br>
<br>
Ideas?<br>
<br>
Thanks!<br>
<br>
--David<br>
</font> <br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
squid-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a>
</pre>
</blockquote>
<br>
</body>
</html>