This is only peripherally related to AOLserver, but there are so many
helpful and knowledgeable people on this list, I'm hoping someone will
recognize this.
I'm still working on that Apache/Tomcat caching thing I wrote about a
few days ago. The client is insisting on Apache and nothing but
Apache, so I haven't investigated Squid, Varnish or anything else so
far.
I figured out how to use mod_cache to get Apache to cache the content,
but it's kind of useless because there's a "Cache-Control: max-age=0"
header that causes it to request a new copy every time. The problem
is, I can't figure out where it's coming from.
I've eliminated Tomcat from the loop entirely, so the fault lies
somewhere between AOLserver and Apache:
- telnet to AOLserver directly - no cache-control at all
GET /public/index HTTP/1.0
HTTP/1.0 200 OK
Set-Cookie: ad_session_id=82810106%2c0%2c0+
%7b514+1239579021+56A366FC5E92AF28DB87E48214C6C4CE8C0581BB%7d; Path=/;
Max-Age=1200
MIME-Version: 1.0
Date: Sun, 12 Apr 2009 23:10:21 GMT
Server: AOLserver/4.0.10
Content-Type: text/html; charset=utf-8
Content-Length: 127358
Connection: close
- have Apache send request to AOLserver via mod_proxy (ProxyPassMatch)
- has Cache-Control with max-age=0
Last-Modified: Mon, 30 Mar 2009 11:26:14 GMT
MIME-Version: 1.0
Date: Sun, 12 Apr 2009 23:03:02 GMT
Server: AOLserver/4.0.10
Content-Type: image/gif
Content-Length: 395
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us)
AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1
Referer: http://pug.furfly.com:8080/public/index
Cache-Control: max-age=0
Accept: */*
Accept-Language: en-us
Accept-Encoding: gzip, deflate
- use mod_headers to add a Cache-Control header - now we have two:
Last-Modified: Mon, 30 Mar 2009 11:26:14 GMT
MIME-Version: 1.0
Date: Sun, 12 Apr 2009 23:15:04 GMT
Server: AOLserver/4.0.10
Content-Type: image/gif
Content-Length: 395
Cache-Control: max-age=999
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us)
AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1
Referer: http://pug.furfly.com:8080/public/index
Cache-Control: max-age=0
Accept: */*
Accept-Language: en-us
Accept-Encoding: gzip, deflate
It appears that Apache is adding the rogue header, but I don't know
how to tell it to stop!
Any suggestions?
janine
---
Janine Sisk
President/CEO of furfly, LLC
503-693-6407
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to
<[email protected]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject:
field of your email blank.