Recent.
Begin forwarded message:
From: 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) if I should be sending this to a development list, or to someone else, rather than to you...
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 from mod_headers, in that 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 generally useful as a part 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/
