Re: [squid-users] Re: Youtube Changes

From: Odhiambo Washington <odhiambo_at_gmail.com>
Date: Wed, 24 Apr 2013 15:33:28 +0300

I am following this thread closely since inception and wanted to test
this on my squid 2.7.9.
However I am getting a problem with the second refresh_pattern regex.

2013/04/24 15:37:36| parse_refreshpattern: Unknown option
'(get_video\?|videoplayback\?|videodownload\?|\.flv\?|\.fid\?)':
ignore-must-revali......

On 24 April 2013 04:35, syaifuddin <ucok_karnadi_at_yahoo.com> wrote:
> 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
> &ir=1&rr=12
> 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
> refresh_pattern
> (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.

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
"I can't hear you -- I'm using the scrambler."
Received on Wed Apr 24 2013 - 12:34:16 MDT

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