Fwd: [squid-users] Storeurl program,what's wrong with it ?

From: ½ð ¸ê <altman87120_at_gmail.com>
Date: Thu, 6 Dec 2012 10:49:34 +0800

I'm sorry, I didn't tell the version of squid I use.And the detail of my experiment.

THE SQUID VERSION
------------------------------------
root_at_cache-squid:/usr/local/etc/squid # squid -v
Squid Cache: Version LUSCA_HEAD-r14809
configure options: '--bindir=/usr/local/sbin' '--sbindir=/usr/local/sbin' '--datadir=/usr/local/etc/squid' '--libexecdir=/usr/local/libexec/squid' '--localstatedir=/usr/local/squid' '--sysconfdir=/usr/local/etc/squid' '--enable-removal-policies=lru heap' '--disable-linux-netfilter' '--disable-linux-tproxy' '--disable-epoll' '--enable-auth=basic ntlm digest' '--enable-basic-auth-helpers=DB NCSA PAM MSNT SMB YP' '--enable-digest-auth-helpers=password' '--enable-external-acl-helpers=ip_user session unix_group wbinfo_group' '--enable-ntlm-auth-helpers=SMB' '--with-pthreads' '--enable-storeio=aufs null coss' '--enable-snmp' '--enable-htcp' '--enable-forw-via-db' '--disable-wccp' '--enable-wccpv2' '--disable-ident-lookups' '--enable-referer-log' '--enable-useragent-log' '--enable-pf-transparent' '--enable-follow-x-forwarded-for' '--with-large-files' '--enable-large-cache-files' '--enable-err-languages=English' '--enable-default-err-language=English' '--with-maxfd=50000' '--with-aufs-threads=255' 'LDFLAGS=-L/usr/locar/local/lib' 'LIBS=-ltcmalloc' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=amd64-portbld-freebsd9.1' 'build_alias=amd64-portbld-freebsd9.1' 'CC=cc' 'CFLAGS=-O2 -fno-strict-aliasing -pipe -msse3 -I/usr/local/include -Wl,-L/usr/local/lib -msse3 -march=nocona ' 'CPPFLAGS=' 'CPP=cpp'
------------------------------------
00:12:14.374 2.527 426 26.8M GET 200 video/mp4 http://58.53.215.16/youku/69768E90451347BDEB2885FED/030008030050BE079785AA03BAF2B11A3334A2-BCC9-F277-D1AF-AE5D4966566C.mp4
------------------------------------
(Request-Line) GET /youku/69768E90451347BDEB2885FED/030008030050BE079785AA03BAF2B11A3334A2-BCC9-F277-D1AF-AE5D4966566C.mp4 HTTP/1.1
Host 58.53.215.16
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:15.0) Gecko/20100101 Firefox/15.0.1
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding gzip, deflate
Proxy-Connection keep-alive
------------------------------------
I capture from my firefox. You see the Referer head of the video/mp4 is the http://static.youku.com/
And i list one of my capture url here:
http://58.53.215.16/youku/69768E90451347BDEB2885FED/030008030050BE079785AA03BAF2B11A3334A2-BCC9-F277-D1AF-AE5D4966566C.mp4
And the what troubles me most is,My store_url_rewrite.py output the rewrite url log in cache.log show what i want to store like

http://118.180.3.36/youku/656D4E0E32378272EBACE5B86/030002050050BCAFBB490B03BAF2B1A20A79FD-0282-DEA6-350C-E810E14BAA19.flv?start=18
->store as
http://www.youku.com/030002050050BCAFBB490B03BAF2B1A20A79FD-0282-DEA6-350C-E810E14BAA19.flv?start=18

But I didn't see http://www.youku.com/030002050050BCAFBB490B03BAF2B1A20A79FD-0282-DEA6-350C-E810E14BAA19.flv?start=18 in store.log
And i thought squid was not cache my rewire url. And i didn't know why it did't cache it. Is my store_url_rewrite.py returned value not match store urlrewrite_program tell me? And other problem?
Received on Thu Dec 06 2012 - 02:49:38 MST

This archive was generated by hypermail 2.2.0 : Thu Dec 06 2012 - 12:00:04 MST