Can we review it for inclusion in mod_proxy++ (the HTTP/1.1 version) that we will package separately? Or should we wait and commit to -current after 1.3.20 is released?
Chuck
On Wednesday, May 2, 2001, at 08:10 PM, Ian Holsman wrote:
we are planning to do something similar to this we are developing a module which could set apache notes, based on various things, these would append themselves to the headers_in in the form X_NOTE_notename: value for the application server.
good to know we aren't the only ones with the idea ..ian
-----Original Message----- From: Chuck Murcko [mailto:[EMAIL PROTECTED] Sent: Wed, May 02, 2001 3:07 PM To: [EMAIL PROTECTED] Subject: Fwd: mod_proxy patches for HTTP Header manipulation
Recent.
Begin forwarded message:
I should beFrom: Kwindla Hultman Kramer <[EMAIL PROTECTED]> Date: Wed May 02, 2001 04:36:42 PM US/Eastern To: [EMAIL PROTECTED] Subject: mod_proxy patches for HTTP Header manipulation
Hi,
Please forgive me (and point me in the right direction) ifsending this to a development list, or to someone else,rather than tomod_headers, inyou...
First of all, thank you for your work on mod_proxy. We depend on it for our production servers at http://allafrica.com.
I've written some code for mod_proxy that adds the ability to set headers, both for upstream proxy requests and for responses back to clients. Four new configuration directives are added:
ProxyRequestHeader ProxyResponseHeader ProxyResponseExpiresVector CacheFreshenDate
The first two are a lot like the Header directive fromuseful as athat they allow you to set|unset|add|append to a given header. They also take an optional regular expression argument, which is matched against r->uri to control application of the directive.
The last two are special-purpose directives that control the setting of Expires/Cache-Control and Date headers, respectively. They also take optional regular expressions to limit their application at request time.
All four directives are valid in both base and virtual server configurations, and are merged/applied so that the right thing (tm) happens.
I have put up patches, both to the sources and to the documentation html page, at http://allafrica.com/tools/apache/mod_proxy/.
If you believe that this functionality would be generallypart of mod_proxy, please let me know what I can do to pave the way for any integration.
Thank you, Kwindla Hultman Kramer
Chuck Murcko Topsail Group http://www.topsail.org/
