As a note, this does appear to be working on 2.5 / trunk. — Jacob Perkins Product Owner cPanel Inc.
jacob.perk...@cpanel.net <mailto:jacob.perk...@cpanel.net> Office: 713-529-0800 x 4046 Cell: 713-560-8655 > On Feb 27, 2018, at 8:44 AM, Jacob Perkins <jacob.perk...@cpanel.net> wrote: > > Good morning, > > I have a customer who’s attempting to use RemoteIPProxyProtocol with > mod_remoteIP. Per 2.4 documentation, this directive should be available ( > https://httpd.apache.org/docs/2.4/mod/mod_remoteip.html > <https://httpd.apache.org/docs/2.4/mod/mod_remoteip.html> ) > > I built httpd 2.4.29 from sources this morning with APR 1.6.3 and apr-util > 1.6.1, and I’m not seeing this directive as available, and upon putting it > into the configuration, it can’t find this directive. > > jperkins64 :: /opt/perk # ./bin/apachectl configtest > AH00112: Warning: DocumentRoot [/opt/perk/docs/dummy-host.example.com > <http://dummy-host.example.com/>] does not exist > AH00526: Syntax error on line 30 of /opt/perk/conf/extra/httpd-vhosts.conf: > Invalid command 'RemoteIPProxyProtocol', perhaps misspelled or defined by a > module not included in the server configuration > jperkins64 :: /opt/perk # grep remoteip conf/httpd.conf > LoadModule remoteip_module modules/mod_remoteip.so > jperkins64 :: /opt/perk # grep RemoteIP conf/extra/httpd-vhosts.conf -A2 -B3 > ServerAlias www.dummy-host.example.com > <http://www.dummy-host.example.com/> > ErrorLog "logs/dummy-host.example.com > <http://dummy-host.example.com/>-error_log" > CustomLog "logs/dummy-host.example.com > <http://dummy-host.example.com/>-access_log" common > RemoteIPProxyProtocol On > </VirtualHost> > > When I remove that directive from my vhosts.conf, I’m loading the module > properly (it appears lol): > > jperkins64 :: /opt/perk # ./bin/apachectl -M | grep remoteip > AH00112: Warning: DocumentRoot [/opt/perk/docs/dummy-host.example.com > <http://dummy-host.example.com/>] does not exist > AH00112: Warning: DocumentRoot [/opt/perk/docs/dummy-host2.example.com > <http://dummy-host2.example.com/>] does not exist > remoteip_module (shared) > jperkins64 :: /opt/perk # > > Did this directive get pulled out or am I missing something to get this > enabled? > > — > Jacob Perkins > Product Owner > cPanel Inc. > > jacob.perk...@cpanel.net <mailto:jacob.perk...@cpanel.net> > Office: 713-529-0800 x 4046 > Cell: 713-560-8655 >