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: Input Filtering on Reverse Proxy |
|
Author |
|
tessmonsta
Joined: 09 Nov 2006 Posts: 2
|
Posted: Wed 29 Nov '06 0:30 Post subject: Input Filtering on Reverse Proxy |
|
|
Okay, I'm writing an input and output filter that will run on reverse proxy. The goal of the filters is not to change the content, but gather some stats and forward them to a monitoring app. I have the filter working on the local system.
The setup is straightforward. One machine runs as a reverse proxy. The input/output filter runs on this system. The target system is running CGI or an application server of some kind. Communication between them is base HTTP.
The problem is that the input filter isn't being called. Since this worked on the local machine I can only assume that I have the Apache configuration wrong. Here's the relevant section of HTTPD.conf:
Code: | LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule my_module "C:/mod_my.dll"
ProxyRequests off
ProxyPass /TravelRequest http://DESTSERV/TravelRequest/
ProxyPassReverse /TravelRequest http://DESTSERV/TravelRequest/
<Location /TravelRequest>
SetInputFilter mod-my-in
SetOutputFilter mod-my-out
</Location> |
|
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Thu 21 Dec '06 12:08 Post subject: |
|
|
how did it ran on your local solution? |
|
Back to top |
|
|
|
|
|
|