httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Zimmer <sylv...@sylvainzimmer.com>
Subject [users@httpd] Re: mod_ext_filter with mode=input and ftype=AP_FTYPE_PROTOCOL : filter not executed
Date Tue, 03 Feb 2009 12:10:08 GMT
If somebody has an idea.. that would be very helpful. Thanks in advance!


On Fri, Jan 9, 2009 at 11:15 AM, Sylvain Zimmer
<sylvain@sylvainzimmer.com>wrote:

> Hi!
>
> I've been trying to setup a custom input filter that modifies http request
> headers.
>
> Here is my config, at the end of apache2.conf (apache version
> 2.2.9-7ubuntu3)
>
> ExtFilterDefine radioclient ftype=30 mode=input cmd="/usr/bin/tee
> /tmp/ext_filter_debug"
> SetInputFilter radioclient
>
> (AP_FTYPE_PROTOCOL=30)
>
> The filter doesn't get executed ( /tmp/ext_filter_debug is not even
> created). I can't understand why, because the following configs do work (but
> it's not what I need) :
>
> ExtFilterDefine radioclient ftype=29 mode=input cmd="/usr/bin/tee
> /tmp/ext_filter_debug"
> SetInputFilter radioclient
>
> and
>
> ExtFilterDefine radioclient ftype=30 mode=output cmd="/usr/bin/tee
> /tmp/ext_filter_debug"
> SetOutputFilter radioclient
>
>
> Is there a specific issue related to filtering input at the
> AP_FTYPE_PROTOCOL level ?
>
> Thanks a lot in advance!
>
> --
> Sylvain Zimmer
> CTO, www.jamendo.com
>
> blog: sylvinus.org
> gsm: +33 6 64 67 61 71
>

Mime
View raw message