Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 15499 invoked from network); 15 Oct 2007 15:16:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Oct 2007 15:16:39 -0000 Received: (qmail 90561 invoked by uid 500); 15 Oct 2007 15:16:21 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 90495 invoked by uid 500); 15 Oct 2007 15:16:21 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 90457 invoked by uid 99); 15 Oct 2007 15:16:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2007 08:16:21 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [166.70.186.42] (HELO onyx.sharktooth.org) (166.70.186.42) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2007 15:16:21 +0000 Received: from corvette.dnsdhcp.provo.novell.com ([137.65.60.38]) by onyx.sharktooth.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1IhRdg-000Ihg-KL for modules-dev@httpd.apache.org; Mon, 15 Oct 2007 09:13:53 -0600 Message-ID: <471385E6.600@joe-lewis.com> Date: Mon, 15 Oct 2007 09:23:18 -0600 From: Joe Lewis User-Agent: Thunderbird 1.5.0.8 (X11/20060911) MIME-Version: 1.0 To: modules-dev@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 137.65.60.38 X-SA-Exim-Mail-From: joe@joe-lewis.com X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on onyx.sharktooth.org X-Spam-Level: Subject: Hook for If-Modified-Since X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on onyx.sharktooth.org) X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.7 Hello; 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 issues). 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? Thanks! Joe -- Joseph Lewis "Divide the fire, and you will sooner put it out." - Publius Syrus