]> git.pld-linux.org Git - packages/apache-mod_rpaf.git/blame - 0.6-compat.patch
support all 0.6 directives (RPAFheader as well)
[packages/apache-mod_rpaf.git] / 0.6-compat.patch
CommitLineData
fda5dc7d
ER
1--- mod_rpaf-0.8.4/mod_rpaf.c 2015-09-11 16:21:40.142295508 +0300
2+++ mod_rpaf-0.8.4/mod_rpaf.c 2015-09-11 16:23:59.176130314 +0300
3@@ -420,6 +420,39 @@
70aa3935
ER
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"
fda5dc7d
ER
32+ ),
33+ AP_INIT_TAKE1(
34+ "RPAFheader",
35+ rpaf_set_headername,
36+ NULL,
37+ RSRC_CONF,
38+ "Which header to look for when trying to find the real ip of the client in a proxy setup"
70aa3935
ER
39+ ),
40 { NULL }
41 };
42
This page took 0.077539 seconds and 4 git commands to generate.