mod_ext_filter with mode=input and ftype=AP_FTYPE_PROTOCOL : filter not executed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
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
[Index of Archives]
[Open SSH Users]
[Linux ACPI]
[Linux Kernel]
[Linux Laptop]
[Kernel Newbies]
[Security]
[Netfilter]
[Bugtraq]
[Squid]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]