]> git.pld-linux.org Git - packages/apache-mod_rpaf.git/blame - 0.6-compat.patch
restore compatibility with v0.6 config directives
[packages/apache-mod_rpaf.git] / 0.6-compat.patch
CommitLineData
70aa3935
ER
1--- mod_rpaf-0.8.4/mod_rpaf.c~ 2015-09-11 16:21:34.000000000 +0300
2+++ mod_rpaf-0.8.4/mod_rpaf.c 2015-09-11 16:21:40.142295508 +0300
3@@ -420,6 +420,32 @@
4 RSRC_CONF,
5 "Which header to look for when trying to find the real ip of the client in a proxy setup"
6 ),
7+
8+ /*
9+ * DEPRECATED
10+ * Backward (0.6) compatible config directives for smooth upgrade.
11+ */
12+ AP_INIT_FLAG(
13+ "RPAFEnable",
14+ rpaf_enable,
15+ NULL,
16+ RSRC_CONF,
17+ "Enable mod_rpaf"
18+ ),
19+ AP_INIT_ITERATE(
20+ "RPAFproxy_ips",
21+ rpaf_set_proxy_ip,
22+ NULL,
23+ RSRC_CONF,
24+ "IP(s) of Proxy server setting X-Forwarded-For header"
25+ ),
26+ AP_INIT_FLAG(
27+ "RPAFsethostname",
28+ rpaf_sethostname,
29+ NULL,
30+ RSRC_CONF,
31+ "Let mod_rpaf set the hostname from the X-Host header and update vhosts"
32+ ),
33 { NULL }
34 };
35
This page took 0.080853 seconds and 4 git commands to generate.