HEX
Server: Apache/2.4.65 (Debian)
System: Linux srv39710 6.1.0-41-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.158-1 (2025-11-09) x86_64
User: root (0)
PHP: 8.4.11
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
Upload Files
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.