Anyone here use the Apache module mod_rpaf2 to pass the IP's from an nginx proxy so the back end apache server logs the correct IP of web site visitors? This has been working great for over two years; until I updated both Apache (apache 2.4.33 ) and ap24-mod_rpaf2 to version 0.8.4 After the update Apache no longer recognizes the RPAFenable directive causing the below error.
"AH00526: Syntax error on line 182 of /usr/local/etc/apache24/httpd.conf:
Invalid command 'RPAFenable', perhaps misspelled or defined by a module not included in the server configuration"
Here is the related configuration in httpd.conf I was using
Once I commented out the above lines and restart apache the error went away, but I would like to continue to use this module to log visitors IP's.
Thanks,
Tim
"AH00526: Syntax error on line 182 of /usr/local/etc/apache24/httpd.conf:
Invalid command 'RPAFenable', perhaps misspelled or defined by a module not included in the server configuration"
Here is the related configuration in httpd.conf I was using
Code:
#show real IP behind nginx
LoadModule rpaf_module libexec/apache24/mod_rpaf.so
RPAFenable On
RPAFsethostname On
RPAFproxy_ips 192.168.14.210 192.168.14.211
RPAFheader X-Forwarded-For
Thanks,
Tim