<div dir="ltr"><div>acl dstdomain .<a href="http://youtube.com">youtube.com</a><br></div>will match all visits to youtube, it will not detect youtube in the path but your regex won't either.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-10-01 11:10 GMT+03:00 Riccardo Castellani <span dir="ltr"><<a href="mailto:ric.castellani@alice.it" target="_blank">ric.castellani@alice.it</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I need to detect every client request (http/s) which contains the url<br>
'youtube.<br>
com' so i thought to use acl url_regex expression.<br>
What do you think about it ?<br>
<br>
<br>
acl url_regex -i ^(http|https):\/\/*.youtube\.com*.<br>
<br>
_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-users" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br>
</blockquote></div><br></div>