Override Expires header for proxied content in Apache

Posted by Jochen on Server Fault See other posts from Server Fault or by Jochen
Published on 2011-01-14T17:33:03Z Indexed on 2011/01/14 17:55 UTC
Read the original article Hit count: 358

Filed under:
|

Hi,

I am serving proxied content with Apache that already contains an Expires header. Using mod_expires' ExpireDefault to override the already present Expires header does not work, the old header is left untouched.

Is there another way to override the Expires header? I tried using mod_headers, but it seems I cannot do date calculation there. I also must override the Expires header, I cannot use Cache-Control with max-age for this.

Regards, Jochen

© Server Fault or respective owner

Related posts about apache

Related posts about mod-expires