Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 68922 invoked by uid 500); 19 Dec 2002 01:03:02 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 68907 invoked from network); 19 Dec 2002 01:03:01 -0000 From: =?ISO-8859-1?Q?Andr=E9?= Malo Subject: Re: cvs commit: apache-1.3/src/modules/standard mod_autoindex.c MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Organization: TIMTOWTDI References: <20021218222755.21922.qmail@icarus.apache.org> <5.1.0.14.2.20021218181159.0378de70@pop3.rowe-clan.net> Date: Thu, 19 Dec 2002 02:00:22 +0100 To: dev@httpd.apache.org Message-ID: User-Agent: Yes! X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N * William A. Rowe, Jr. wrote: > The request headers_in are only modified for the duration of > looking up the potential subrequests. >=20 > So I'm confused why (for that brief time) it has been messing > up mod_deflate's filter? mod_autoindex.c (2.1) line 1000 removes the accept-encoding. Then it does the sub_req_uri_lookup, if ok, it runs either ap_run_sub_req= =20 or do_emit_plain. If I understand it correctly, both put already data onto= =20 to filter stack. And *after* the first data (i.e. the header file) is emitted, mod_autoindex= =20 re-adds the accept-encoding. That seems to be too late for mod_deflate. the conclusion is: AddOutputFilterByType DEFLATE httpd/unix-directory doesn't work in the case, HeaderName is used (in my tests). nd --=20 die (eval q-qq[Just Another Perl Hacker ] ;-) # Andr=E9 Malo, #