Greetings,
I have been trying without success to create an input filter that would
dynamically modify the body of a http post in order to fix a customer
application issue until DEV can come up with a fix. I have seen very few
examples of anyone using SetInputFilter so I was wondering if I am not
understanding the documentation or the capabilities of an input filter. I
know using a filter is an expensive operation, but this is a low volume
customer and our web servers have plenty of spare resources.
Here are the details and the workflow
We are using RHEL 5.2 httpd 2.2.3-11
If the filter works then mod_proxy would direct the post to the appropriate
application server.
In the virtualhost I have defined the following
##########################################
ExtFilterDefine route mode=input intype=text/xml cmd="/bin/sed
s/<CustomerId>001500<\/CustomerId>/<CustomerId>001500<\/CustomerId><customerId>001500<\/customerId>/g"
<Directory />
Options FollowSymLinks
AllowOverride None
Order Allow,Deny
Allow from all
SetInputFilter route
ExtFilterOptions LogStderr DebugLevel=2
</Directory>
##########################################
Is this the correct setup for creating a input filter?
Thanks in advance for any advice. I have never setup an input filter before
so this is a new option for me.
Thanks
Ed