You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Andrew <an...@aaaaaaaa.demon.co.uk> on 1996/02/14 14:43:17 UTC
mod_expires.c 0.0.6
dist/contrib/modules/mod_expires.c (version 0.0.6)
Now supports an alternative sytnax for defining when stuff should
expire, eg:
ExpiresDefault "access plus 30 days"
ExpiresByType text/html "access plus 1 month 15 days 2 hours"
ExpiresByType image/gif "modification plus 5 hours 3 minutes"
There's still no command to target a *specific* file's expiry date,
but for the time being you can use mod_cern_meta.c and add per-file
meta information:
--- cut here index.html.meta ---
Expires: Wed, 21 Feb 1996 13:37:50 GMT
--- cut here ---
mod_expires.c also checks that it doesn't use NULL args in calls to
table_get(). I got caught out assuming that r->content_type would
always be defined. Closer inspection of other code shows that
r->ct can legitimately == NULL depending on when the fixup hook is
called in a module.
I ate my shorts.
Ay.