httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Marc SCHAEFER)
Subject [users@httpd] Doubled headers in Apache 1.3.33 / mod_expire
Date Mon, 18 Sep 2006 22:55:56 GMT

using something like:

<Directory "/home/twiki/public_html/bin">
         Options +ExecCGI FollowSymLinks
         SetHandler cgi-script
         Order Allow,Deny
         Allow from all
         Deny from env=anonymous_spider

         # Disable caching in client!  Else issues when editing the same
         # document without the t=<EPOCH> hack which doesn't work with
         # static files!
         # Requires mod_expire
         #    (see
         ExpiresActive On
         ExpiresDefault now

I get the following strange output (using w3m's =; Firefox 1.5 reports
no expiry at all):

HTTP/1.1 200 OK
    Date: Mon, 18 Sep 2006 22:09:24 GMT
    Server: Apache/1.3.33 (Debian GNU/Linux) mod_ssl/2.8.22 OpenSSL/0.9.7e mod_perl/
    Cache-control: max-age=86400
    Expires: Tue, 19 Sep 2006 22:09:29 GMT
    Cache-Control: max-age=0
    Expires: Mon, 18 Sep 2006 22:09:24 GMT
    Last-Modified: Mon, 18 Sep 2006 22:09:29 GMT
    Content-length: 15469
    Connection: close
    Content-Type: text/html; charset=iso-8859-15

Basically, the Cache-control and Expires: headers are doubled.

What should I do to fix this ?

I would really like the client to not cache the data for those URLs.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message