but if i'm put the squid in front of the web, then i visit the
same URL, then i got the different header
------------------
[moran]$ curl -D- -o /dev/null http://www.mydomain.com/test.png
HTTP/1.0 200 OK
Date: Fri, 09 Apr 2010 08:56:00 GMT
Server: Apache/2.0.53 (Unix) mod_perl/1.99_14 Perl/v5.8.5 PHP/5.0.3
mod_ssl/2.0.53 OpenSSL/0.9.7e mod_fastcgi/mod_fastcgi-SNAP-0404142202
Last-Modified: Thu, 06 Apr 2006 12:03:53 GMT
Accept-Ranges: bytes
Content-Length: 512
Content-Type: image/png
Age: 1025
X-Cache: HIT from squid.mydomain.com
Via: 1.0 squid.mydomain.com:80 (squid/2.6.STABLE23)
Connection: close
-----------------------
the pic loads correctly, but jut the "expires" header is gone.
it's not the thing i expect. how can i set up squid to put the
"expires" header back?
any ideas? thank you~~
On Apr 9, 5:56 pm, swansun <swansu...@gmail.com> wrote:
> hi, everyone
> i have a web server(apache 2.0.x) and a squid(2.6) in front of the
> web as the reverse proxy.
> in the web server, i have set up the mod_expires module to export the
> Expires HTTP header as 1 year. and it works,
> here is the http header info
> ----------------------
> [shell]# curl -D- -o /dev/nullhttp://www.mydomain.com/test.png