Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: (qmail 80058 invoked from network); 5 Jan 2011 21:04:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Jan 2011 21:04:42 -0000 Received: (qmail 75917 invoked by uid 500); 5 Jan 2011 21:04:42 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 75890 invoked by uid 500); 5 Jan 2011 21:04:42 -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 75881 invoked by uid 99); 5 Jan 2011 21:04:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jan 2011 21:04:42 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jmarantz@google.com designates 74.125.121.67 as permitted sender) Received: from [74.125.121.67] (HELO smtp-out.google.com) (74.125.121.67) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jan 2011 21:04:37 +0000 Received: from hpaq1.eem.corp.google.com (hpaq1.eem.corp.google.com [172.25.149.1]) by smtp-out.google.com with ESMTP id p05L4FR6016526 for ; Wed, 5 Jan 2011 13:04:15 -0800 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1294261455; bh=xmMShKdO2u6HlV6w1JepqQfuWxo=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Content-Type; b=QUCytbcI45jvHnQ2O8mH1pvPH1LBzGsSsp88kPjvkok4A1MwSoYvYv6rPxo4Q3uRs 6w9AJ6HmZPQ5z2Iq/PgxA== Received: from iwn40 (iwn40.prod.google.com [10.241.68.104]) by hpaq1.eem.corp.google.com with ESMTP id p05L4AVm029716 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Wed, 5 Jan 2011 13:04:14 -0800 Received: by iwn40 with SMTP id 40so16290333iwn.18 for ; Wed, 05 Jan 2011 13:04:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=beta; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=T/KiIBBC9CSqqPuq9BIdI2DZb7ON+0JJeX6itOf4OzY=; b=W6bbhfT128uPbdWgeFAceetlZHhlP6FJbityMDcZwvOX+HEWEsXPFlajpkQkmE7Rdd gjg1S67rf4vWut2H/n7A== DomainKey-Signature: a=rsa-sha1; c=nofws; d=google.com; s=beta; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=mq+xq0e1P7qG+tqi58/wIH5XOWteVsGDYi0Sa4yPC/cs7TBWo+XZJ4pfoq+5dghVru bygSM7fagkgzgojOrSGA== Received: by 10.231.206.8 with SMTP id fs8mr8992549ibb.10.1294261454153; Wed, 05 Jan 2011 13:04:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.40.11 with HTTP; Wed, 5 Jan 2011 13:03:54 -0800 (PST) In-Reply-To: References: From: Joshua Marantz Date: Wed, 5 Jan 2011 16:03:54 -0500 Message-ID: Subject: Re: Help trying to figure out why an output_filter is not called. To: modules-dev@httpd.apache.org Content-Type: multipart/alternative; boundary=90e6ba4fc25238a66304991fbafb X-System-Of-Record: true --90e6ba4fc25238a66304991fbafb Content-Type: text/plain; charset=ISO-8859-1 Right you are. That's much simpler then. Thanks! -Josh On Wed, Jan 5, 2011 at 3:46 PM, Ben Noordhuis wrote: > On Wed, Jan 5, 2011 at 20:40, Joshua Marantz wrote: > > So if I try to remove the 'expires' filter from my handler (which runs > > early) then mod_expires will have a handler that runs later that inserts > it > > after my module has completed. > > No, it's the other way around. mod_expires uses the insert_filter hook > to insert its filter before your handler is run (and how could it be > otherwise? Output filters are there to post-process the content your > handler generates). > > Have a look at ap_invoke_handler() in config.c, that should give you a > handle on how the filter chain works. But don't hesitate to post your > questions if you have them, of course. :) > --90e6ba4fc25238a66304991fbafb--