On 05/28/2008 11:11 PM, [EMAIL PROTECTED] wrote:
Author: niq
Date: Wed May 28 14:11:24 2008
New Revision: 661087
URL: http://svn.apache.org/viewvc?rev=661087&view=rev
Log:
Introduce variable interpolation in reverse proxy configuration
Modified:
httpd/httpd/branches/2.2.x/CHANGES
httpd/httpd/branches/2.2.x/STATUS
httpd/httpd/branches/2.2.x/docs/manual/mod/mod_proxy.xml
httpd/httpd/branches/2.2.x/include/ap_mmn.h
httpd/httpd/branches/2.2.x/modules/proxy/mod_proxy.c
httpd/httpd/branches/2.2.x/modules/proxy/mod_proxy.h
httpd/httpd/branches/2.2.x/modules/proxy/proxy_util.c
Modified: httpd/httpd/branches/2.2.x/modules/proxy/mod_proxy.h
URL:
http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/modules/proxy/mod_proxy.h?rev=661087&r1=661086&r2=661087&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/modules/proxy/mod_proxy.h (original)
+++ httpd/httpd/branches/2.2.x/modules/proxy/mod_proxy.h Wed May 28 14:11:24
2008
@@ -110,6 +110,7 @@
};
#define PROXYPASS_NOCANON 0x01
+#define PROXYPASS_INTERPOLATE 0x02
struct proxy_alias {
const char *real;
const char *fake;
@@ -212,9 +213,19 @@
apr_array_header_t* cookie_domains;
const apr_strmatch_pattern* cookie_path_str;
const apr_strmatch_pattern* cookie_domain_str;
+ int interpolate_env;
const char *ftp_directory_charset;
} proxy_dir_conf;
But now this is the *WRONG* order: interpolate_env *MUST* be the last
element of proxy_dir_conf.
Regards
RĂ¼diger