Good day Guys
i have this problem when manipulating with the header_access and header_reply
while using Lusca_HEAD.
squid lusca compilation as follows :
Squid Cache: Version LUSCA_HEAD
configure options: '--libdir=/usr/lib64' '--datadir=/usr/share/squid'
'--sysconfdir=/etc/squid' '--localstatedir=/var/log/squid' '--mandir=/usr/man'
'--enable-removal-policies=lru,heap' '--disable-icmp' '--disable-delay-pools'
'--disable-snmp' '--disable-wccp' '--enable-arp-acl' '--enable-linux-netfilter'
'--program-prefix=' '--program-suffix=' '--build=x86_64-slackware-linux'
'build_alias=x86_64-slackware-linux' 'CFLAGS=-O2 -fPIC -g -pipe -fsigned-char
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=native' 'CXXFLAGS=-O2 -fPIC -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=native' '--prefix=/usr'
'--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin'
'--includedir=/usr/include' '--disable-dependency-tracking'
'--disable-cache-digests' '--enable-epoll' '--disable-icap-client'
'--disable-ident-lookup' '--enable-storeio=aufs,coss' '--with-aio'
'--with-default-user=squid' '--with-maxfd=65000' '--with-dl' '--with-pthreads'
'--disable-htcp' '--enable-large-cache-files' '--with-large-files'
'--enable-http-violations'
below is a summary of what i am facing :
in my setup i have
acl Deny_Headers url_regex -i (\.php|\?|\.asp|\.pl|\.py)
header_access Last-Modified !Deny_Headers
which should omit the Last-Modified in the reply headers yet i get
this is the request here
http://www.gmc.com/omnitureData/OmnitureActionSource.swf
GET /omnitureData/OmnitureActionSource.swf HTTP/1.1
Host: www.gmc.com
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9)
Gecko/20100330 Fedora/3.5.9-1.fc11 Firefox/3.5.9
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: __g_u=116582414942981_2_0.5_0_5_1287422157689_1;
HOHJ=37M46bsQZCUIzkk_2y6G5vplFN2pmrFN73vmhAY058MP6NcZ_R-DZkQ;
__g_c=w%3A1%7Cb%3A2%7Cc%3A116582414942981%7Cd%3A2%7Ca%3A1%7Ce%3A0.5%7Cf%3A0%7Ch%
3A1%7Cr%3A%7Cg%3A1;
IS3_History=1286030577-1-1_4-1-+5--1+8--1+15--1+19--1+21--1__4-5-8-15-19-21_;
IS3_GSV=DPL-2_TES-1287045107_PCT-1287045107_GeoIP-unknown_GeoCo-_GeoRg-_GeoCt-_G
eoNs-unknown_GeoDm-; s_cc=true; s_sq=%5B%5BB%5D%5D
here is the reply from the cache which still replies with the Last-Modified
header in it
HTTP/1.0 200 OK
Server: Sun-ONE-Web-Server/6.1
Content-Length: 4221
Content-Type: text/plain
Last-Modified: Wed, 22 Oct 2008 16:21:22 GMT
Accept-Ranges: bytes
Date: Thu, 14 Oct 2010 08:24:59 GMT
X-Cache: MISS from sms.org
Connection: keep-alive
i have also set the following header_access and header_replace
header_access Cache-Control deny all
header_access Accept-Encoding deny all
upon looking to some sites i still get the following below as request/ reply
i understand the request is ok yet what is not ok is the reply
http://www.fifa.com/live/worldmatchcentre/ticker.xml
GET /live/worldmatchcentre/ticker.xml HTTP/1.1
Host: www.fifa.com
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9)
Gecko/20100330 Fedora/3.5.9-1.fc11 Firefox/3.5.9
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: accessFIFA=standard; s_nr=1286988489307; s_cc=true; s_sq=%5B%5BB%5D%5D;
_chartbeat2=ecz83zw16eh652sz; undefined_s=First%20Visit
HTTP/1.0 200 OK
Cache-Control: no-store, no-cache, must-revalidate, private
Content-Type: text/html
Last-Modified: Thu, 14 Oct 2010 08:31:59 GMT
Server: Microsoft-IIS/7.0
X-UA-Compatible: IE=EmulateIE7
Date: Thu, 14 Oct 2010 08:45:57 GMT
Content-Length: 19615
X-Cache: MISS from sms.org
Connection: keep-alive
much regards
Original issue reported on code.google.com by degreane@gmail.com on 14 Oct 2010 at 9:09
Original issue reported on code.google.com by
degreane@gmail.com
on 14 Oct 2010 at 9:09