httpd-users mailing list archives

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

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
         #    http://httpd.apache.org/docs/1.3/mod/mod_expires.html)
         ExpiresActive On
         ExpiresDefault now
</Directory>

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:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message