[Mod_transform] Last-modified header

Miles Waller miles at jamkit.com
Fri Nov 14 09:51:21 EST 2008


We are running an SVN checkout of mod_transform to provide styling of a 
web application, using data provided from an app server.  We're finding 
that this is causing the last-modified header of the response to be changed.

I get the following before transformation, from the app server:

  Date: Fri, 14 Nov 2008 14:44:21 GMT
  Content-Language: en
  Expires: Tue, 17 Nov 1998 14:44:21 GMT
  Vary: Accept-Encoding
  Last-Modified: Wed, 29 Oct 2008 16:04:17 GMT

After transformation, I receive the following:

  Date: Fri, 14 Nov 2008 14:45:43 GMT
  Content-Language: en
  Expires: Tue, 17 Nov 1998 14:45:42 GMT
  Vary: Accept-Encoding,User-Agent
  Last-Modified: Thu, 01 Jan 1970 00:00:00 GMT

My last modified date has been turned to 1970!

I think we've traced this back to mod_depends:

src/mod_depends.c (lines 124-125):
    apr_table_setn(f->r->headers_out, "ETag", etag);

However I'm not really sure what this module does or why it would be 
changing these headers!

Can anyone tell me:
 - what the module does (I have googled but can't find anything detailed 
 - whether this is a bug, or if it can be compiled without that line in it?



   [] j a m k i t

     miles waller
T:  020 7549 0520
F:  020 7549 0505
M:  07823 334 170
W: www.jamkit.com

More information about the Mod_transform mailing list