]>
Commit | Line | Data |
---|---|---|
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 |