[squid-users] Re: Youtube Changes

From: syaifuddin <ucok_karnadi_at_yahoo.com>
Date: Tue, 23 Apr 2013 18:35:07 -0700 (PDT)

ragheb68 wrote
> Hi syaifuddin,
> Trying to implement the changes you proposed on squid 2.7stable 9. Got
> confused there is nothing in your email concerning refresh patterns and
> other old youtube settings in squid.conf should all of them be removed and
> replaced with new ones or just add the new acls along with the old ones. I
> have currently installed File::Readbackwards Perl module on fedora 13 and
> added your lines to my already old squid.conf with old youtube among other
> settings and replaced the old storeurl.pl with yours but still I can see
> TCP_MISS on all youtube requests in access.log file. Any ideas what could
> be the cause?

strip_query_terms off
acl yutub dstdomain .youtube.com .youtu.be
logformat squid1 %{Referer}>h %ru
access_log /var/log/squid/yt.log squid1 yutub
acl redirec urlpath_regex -i &redirect_counter=1&cms_redirect=yes
acl videocache url_regex -i \.(youtu|google).*\.com\/videoplayback
storeurl_access deny redirec
storeurl_access allow videocache
storeurl_rewrite_program /etc/squid/storeurl.pl
storeurl_rewrite_children 1
storeurl_rewrite_concurrency 10
cache deny redirec

refresh_pattern ^.*youtube\.com\.SQUIDINTERNAL.*$ 43200 99% 43200
override-expire ignore-reload ignore-no-cache ignore-private negative-ttl=0
(get_video\?|videoplayback\?|videodownload\?|\.flv\?|\.fid\?) 43200 99%
43200 override-expire ignore-reload ignore-must-revalidate ignore-no-cache
ignore-private negative-ttl=0

View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Youtube-Changes-tp4659599p4659620.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Wed Apr 24 2013 - 01:35:10 MDT

This archive was generated by hypermail 2.2.0 : Wed Apr 24 2013 - 12:00:15 MDT