[squid-users] Permit only specifics videos on youtube

From: Alberto Medina <amedinaj_at_gmail.com>
Date: Thu, 2 Dec 2010 14:44:02 -0400

Hi list,
I'd like to permit access to an specific video in youtube.com. I have blocked youtube videos using this acl:

acl web_vid rep_mime_type -i ^video/x-flv$
http_reply_access deny web_vid all

How could I permit access to a particular video? For example to http://www.youtube.com/watch?v=dQxxfbb5FkE&feature=player_embedded ?
I was trying with this acl:

acl web_vid rep_mime_type -i ^video/x-flv$
acl videos_perm url_regex watch?v=dQxxfbb5FkE&feature=player_embedded
http_reply_access allow web_vid videos_perm

It is possible to do this? What am I doing wrong?

Thank you and best regards,
Alberto Medina
Received on Thu Dec 02 2010 - 18:36:57 MST

This archive was generated by hypermail 2.2.0 : Fri Dec 03 2010 - 12:00:01 MST