Dear all,
I'm trying to setup PROXY protocol between a HAproxy acting as a
load-balancer (tcp mode) and httpd (2.4.6) running behind. The objective
is to get the "real" client IP addresses on the httpd-side. To this end,
'RemoteIPProtocolAddress On' directive has been added in the httpd
virtualhost configuration file.
However, when reloading/restarting httpd, it crashes with the following
errors appears:
Invalid command 'RemoteIPProxyProtocol', perhaps misspelled ...
Looking at the mod_remoteip source code for httpd 2.4.6 [1], it appears
the directive RemoteIPProxyProtocol does not exist anymore. I'm not sure
to understand how the versioning works. For instance I can see the
RemoteIPProxyProtocol directive exists in mod_remoteip 2.4.39 [2]
mod_remoteip 2.4.41 [3] but not in mod_remoteip 2.4.4 [4].
How can I workaround this issue ? E.g. compiling another mod_remoteip
version ? Downgrading httpd? Other?
Thanks in advance, all the best.
Jeff Kate
[1]
http://svn.apache.org/repos/asf/httpd/httpd/tags/2.4.6/modules/metadata/mod_remoteip.c
[2]
http://svn.apache.org/repos/asf/httpd/httpd/tags/2.4.39/modules/metadata/mod_remoteip.c
[3]
http://svn.apache.org/repos/asf/httpd/httpd/tags/2.4.41/modules/metadata/mod_remoteip.c
[4]
http://svn.apache.org/repos/asf/httpd/httpd/tags/2.4.4/modules/metadata/mod_remoteip.c
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org