Originally Posted by
sikander3786
I've added the following line to squid.conf but it didn't work.
Code:
acl youtube dstdomain www.youtube.com
always_direct allow youtube
What do you think is going bad?
Where you have www.youtube.com has to be enclosed in quotes and a full path, i.e. my acl's are in ~/squid so I've got:
Code:
acl blacklist-domains dstdomain "/home/barrie/squid/domains"
For the sake of readability I would change the acl name to my-always-direct or something indicative of what you're doing; might make it easier a year from now when you choose to change something!
Bookmarks