Search squid archive

Re: detect 'youtube.com' url

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Team,

We have go with following commands in the squid configuration for blocking particular sites(youtube.com) and also blocking keywords.

Blocking both the website and keyword.

# ACL block sites
acl blocksites dstdomain  .youtube.com

# ACL block keywords
acl blockkeywords url_regex -i .youtube.com

#Deny access to block keywords ACL  &  block sites ACL's
http_access deny blockkeywords
http_access deny blocksites


Regards,
ViSolve Squid

On 10/1/2014 1:40 PM, Riccardo Castellani wrote:
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@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux