Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Apache 2.2 : input filters |
|
Author |
|
arnab
Joined: 26 Sep 2011 Posts: 1
|
Posted: Mon 26 Sep '11 22:06 Post subject: Apache 2.2 : input filters |
|
|
I need help related to Input filter I am trying to accomplish. My target is to call an external program to validate the request and modify/return the response accordingly.
I am using the below to accomplish this.
<IfModule mod_ext_filter.c>
ExtFilterDefine writetext cmd="/usr/local/bin/perl /home/carnab/servers/apache-45234/bin/tracefilter.pl /home/carnab/servers/apache-45234/logs/traceinputafter"
<Location />
# core directive to cause the fixtext filter to be run on output
SetInputFilter writetext
</Location>
</IfModule>
But the call to the perl script never happens. Thanks for your help. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Sun 05 Jun '16 18:48 Post subject: |
|
|
is the module loaded? What happens if you remove the <IfModule mod_ext_filter.c> ? |
|
Back to top |
|
|
|
|
|
|