Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting
From: Ian Holsman <IanH(at)cnet.com>
Date: Wed May 16 2001 - 14:12:59 EDT


the code puts 2 hooks into the http_proxy code. one before the actual proxy is called
the other after the response is recieved.

the reason we need them:
we plan on sending notes set in the subprocess_env table (via mod_include) to the app-server which meet a certain criteria (eg starting with CNET-) these would be changed to header_in with the format (X-CNET-) which the appserver will read and respond to.

there was some talk over here that the app-server will send us some response headers which will need to be parsed in later parts of the html file, so the 'post' hook would be responsible for putting them back in the subprocess_env notes table.

I can post the module which does this work too if you would like. It is similiar to what Kwindala did on 1.3.

I know I could rewrite this as a filter, but I don't know how to 'add' the filters to the proxy request as the syntax is too limiting.

..Ian

> -----Original Message-----
Received on Wed May 16 18:19:18 2001

This archive was generated by hypermail 2.1.8 : Thu Aug 24 2006 - 14:53:16 EDT

Do you need help?X

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library