Package: apache
Version: 1.3.33-6sarge3
Severity: minor

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.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.33-pre2shakotay+2.4.33pre2+patch+route+vserver+vs1.2.10
Locale: LANG=C, LC_CTYPE=fr_CH (charmap=ISO-8859-1)

Versions of packages apache depends on:
ii  apache-common         1.3.33-6sarge3     support files for all Apache webse
ii  debconf               1.4.30.13          Debian configuration management sy
ii  dpkg                  1.10.28            Package maintenance system for Deb
ii  libc6                 2.3.2.ds1-22sarge4 GNU C Library: Shared libraries an
ii  libdb4.2              4.2.52-18          Berkeley v4.2 Database Libraries [
ii  libexpat1             1.95.8-3           XML parsing C library - runtime li
ii  libmagic1             4.12-1             File type determination library us
ii  logrotate             3.7-5              Log rotation utility
ii  mime-support          3.28-1             MIME files 'mime.types' & 'mailcap
ii  perl                  5.8.4-8sarge5      Larry Wall's Practical Extraction 

-- debconf information:
* apache/enable-suexec: true
  apache/server-name: shakotay.alphanet.ch
  apache/document-root: /data/www
  apache/server-port: 80
  apache/init: true
  apache/server-admin: [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to