logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Input Filtering on Reverse Proxy
Author
tessmonsta



Joined: 09 Nov 2006
Posts: 2

PostPosted: Wed 29 Nov '06 0:30    Post subject: Input Filtering on Reverse Proxy Reply with quote

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

PostPosted: Thu 21 Dec '06 12:08    Post subject: Reply with quote

how did it ran on your local solution?
Back to top


Reply to topic   Topic: Input Filtering on Reverse Proxy View previous topic :: View next topic
Post new topic   Forum Index -> Apache