Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 64524 invoked from network); 23 Nov 2007 18:53:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Nov 2007 18:53:12 -0000 Received: (qmail 93741 invoked by uid 500); 23 Nov 2007 18:52:47 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 93723 invoked by uid 500); 23 Nov 2007 18:52:47 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 93712 invoked by uid 99); 23 Nov 2007 18:52:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Nov 2007 10:52:47 -0800 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: domain of samy-delux@gmx.de designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 23 Nov 2007 18:52:27 +0000 Received: (qmail invoked by alias); 23 Nov 2007 18:52:26 -0000 Received: from p54A8BDF2.dip0.t-ipconnect.de (EHLO [192.168.178.21]) [84.168.189.242] by mail.gmx.net (mp051) with SMTP; 23 Nov 2007 19:52:26 +0100 X-Authenticated: #17392150 X-Provags-ID: V01U2FsdGVkX1+a2Tx30Z+amS3t4mRwHPgsjX5F41rzDmYW+JkNdj HFP6+MJAddqr4R Message-ID: <47472168.1000301@gmx.de> Date: Fri, 23 Nov 2007 19:52:24 +0100 From: Samuel Vogel User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: users@httpd.apache.org References: <47471A96.7070107@gmx.de> In-Reply-To: <47471A96.7070107@gmx.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Content-Encoding never matches ->bug in mod_filter? Ok, i found what was the cause of the issue. The documentation states that the "!" must be the first character of the match. But this is not true. My filter only works like this: FilterProvider addcomment LAYOUT resp=Content-Encoding $!gzip Specifically the documentations says (http://httpd.apache.org/docs/2.2/mod/mod_filter.html): First, if the first character is an exclamation mark (!), this reverses the rule, so the provider will be used if and only if the match fails. Second, it interprets the first character excluding any leading ! as follows: Where should I report this? Or is writing it here on the list already sufficient? Regards, Samy Samuel Vogel schrieb: > While playing around with mod_filter i tried to do the following to > add a filter to every page that is not gzipped: > > FilterProvider addcomment LAYOUT resp=Content-Encoding !$gzip > > But that did never apply the filter. On the other hand, applying by > Content-Type works perfectly well: > > FilterProvider addcomment LAYOUT resp=Content-Type $text/html > > So I tried something else: > > FilterProvider addcomment LAYOUT resp=Content-Encoding !$blub > > In my opinion this should always match, since "blub" will never be > present in the Content-Encoding header. > Am I doing something wrong, or should I file a bug report ? > > Regards, > Samy > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server > Project. > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org