Hi All,
my main squid configuration uses somenting like
...
[snip]
acl nosite url_regex "/etc/squid/etc/nosite"
acl site url_regex "/etc/squid/etc/site"
acl nosite_city url_regex "/etc/squid/etc/nosite_city"
acl site_city url_regex "/etc/squid/etc/site_city"
acl src_city "/etc/squid/etc/src_city"
...
[snip]
...
http_access deny src_city nosite
http_access deny src_city nosite_city
http_access allow src_city site
http_access allow src_city site_city
[snip]
...
replicated for many city.
Regex files contain domain names like
...
[snip]
.domain1.com
.domain2.com
[snip]
....
Now I should allow 10 videos on youtube site but deny all others.
I tried to use "urlpath_regex" and a python script as
"redirect_program" but without success.
Please can you suggest the best way to do it knowing only the youtube video id?
Thanks to all
AP
OS: Centos 6.5
Squid: squid-3.1.10-19.el6_4, from centos repository
Received on Tue Jan 21 2014 - 12:43:08 MST
This archive was generated by hypermail 2.2.0 : Tue Jan 21 2014 - 12:00:11 MST