File: //usr/share/doc/libapache2-mod-rpaf/README.Debian
libapache2-mod-rpaf for Debian
------------------------------
The mod_remoteip, available in the Apache 2.4 (Debian Jessie)
can be used for the same purpose:
http://httpd.apache.org/docs/2.4/mod/mod_remoteip.html
This module should be considered as deprecated after Jessie.
Transition to the remoteip module
---------------------------------
The following configuraion snippet for mod_remoteip match the
default mod_rpaf's configuration:
-->8--
<IfModule remoteip_module>
RemoteIPInternalProxy 127.0.0.1 ::1
RemoteIPHeader X-Forwarded-For
# RemoteIPHeader X-Real-IP
</IfModule>
-->8--
You should add this (along with local customisations) to the
/etc/apache2/mods-available/mod_remoteip.conf file, then do:
a2enmod remoteip
a2dismod rpaf
service apache2 restart
At this point you could remove the libapache2-mod-rpaf package.