[squid-users] detect 'youtube.com' url

E.S. Rosenberg esr+squid at g.jct.ac.il
Wed Oct 1 08:22:16 UTC 2014


acl dstdomain .youtube.com
will match all visits to youtube, it will not detect youtube in the path
but your regex won't either.

2014-10-01 11:10 GMT+03:00 Riccardo Castellani <ric.castellani at alice.it>:

> I need to detect every client request (http/s) which contains the url
> 'youtube.
> com' so i thought to use acl url_regex expression.
> What do you think about it ?
>
>
> acl url_regex -i ^(http|https):\/\/*.youtube\.com*.
>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20141001/e0a571f6/attachment.html>


More information about the squid-users mailing list