]> git.pld-linux.org Git - packages/apache-mod_rpaf.git/commitdiff
support all 0.6 directives (RPAFheader as well)
authorElan Ruusamäe <glen@delfi.ee>
Fri, 11 Sep 2015 13:24:44 +0000 (16:24 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Fri, 11 Sep 2015 13:24:44 +0000 (16:24 +0300)
0.6-compat.patch

index 83fe5710a31e2e8c39ce3aa3146815af5f8b2f4b..bf72afdbcdd6e7fa4ef1bc3badce270e28f6c1e8 100644 (file)
@@ -1,6 +1,6 @@
---- mod_rpaf-0.8.4/mod_rpaf.c~ 2015-09-11 16:21:34.000000000 +0300
-+++ mod_rpaf-0.8.4/mod_rpaf.c  2015-09-11 16:21:40.142295508 +0300
-@@ -420,6 +420,32 @@
+--- mod_rpaf-0.8.4/mod_rpaf.c  2015-09-11 16:21:40.142295508 +0300
++++ mod_rpaf-0.8.4/mod_rpaf.c  2015-09-11 16:23:59.176130314 +0300
+@@ -420,6 +420,39 @@
                   RSRC_CONF,
                   "Which header to look for when trying to find the real ip of the client in a proxy setup"
                   ),
 +                 NULL,
 +                 RSRC_CONF,
 +                 "Let mod_rpaf set the hostname from the X-Host header and update vhosts"
++                 ),
++    AP_INIT_TAKE1(
++                 "RPAFheader",
++                 rpaf_set_headername,
++                 NULL,
++                 RSRC_CONF,
++                 "Which header to look for when trying to find the real ip of the client in a proxy setup"
 +                 ),
      { NULL }
  };
This page took 0.07882 seconds and 4 git commands to generate.