httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Lewis <>
Subject Hook for If-Modified-Since
Date Mon, 15 Oct 2007 15:23:18 GMT

Simply, does anyone know of a hook that I can use to intercept requests
that come in with an If-Modified-Since?

Some background - I have an output filter module that alters the
Last-Modified header.  This works beautifully except in once specific
circumstance - if the document has never fully been served by the filter
and Apache receives the request with an If-Modified-Since header, apache
never calls the output filter to adjust the Last-Modified date - it uses
the date of the file itself.

If after loading apache, someone updates or connects to the website and
requests the full page, from then on everything works fine (I am
updating the request_rec->mtime field, and that took care of some other

Does anyone know of a hook that can be used to handle If-Modified-Since
headers, or do I have to rely on using a handler hook?

Joseph Lewis <>
"Divide the fire, and you will sooner put it out." - Publius Syrus

View raw message