How to Install and Uninstall libapache2-mod-rpaf Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 20,2024

1. Install "libapache2-mod-rpaf" package

This guide covers the steps necessary to install libapache2-mod-rpaf on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install libapache2-mod-rpaf

2. Uninstall "libapache2-mod-rpaf" package

This guide let you learn how to uninstall libapache2-mod-rpaf on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove libapache2-mod-rpaf $ sudo apt autoclean && sudo apt autoremove

3. Information about the libapache2-mod-rpaf package on Ubuntu 20.10 (Groovy Gorilla)

Package: libapache2-mod-rpaf
Architecture: amd64
Version: 0.6-13
Priority: extra
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Sergey B Kirpichev
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 68
Depends: libc6 (>= 2.4), apache2-api-20120211
Filename: pool/universe/liba/libapache2-mod-rpaf/libapache2-mod-rpaf_0.6-13_amd64.deb
Size: 8814
MD5sum: 0c94cfc53490c3ade79b81a7558e9d50
SHA1: 0d49615bb45e098e2e895976829cffb4288c6bce
SHA256: 4fd7ad9e87124daf4b42b7cde95c7650d8b43bc4906461b012c853e842a31aa0
SHA512: 51585a208baae2c1ba4304c8ff5eb5d1320b719fa05900d86b867f4a666689413ec41f0955658a7c8f782024734272b96bdb7ec3faf772dcaa0f813ce6b971c6
Homepage: http://www.stderr.net/apache/rpaf/
Description-en: module for Apache2 which takes the last IP from the 'X-Forwarded-For' header
rpaf is short for reverse proxy add forward.
.
rpaf is for backend Apache servers what mod_proxy_add_forward is for
frontend Apache servers. It does exactly the opposite of
mod_proxy_add_forward written by Ask Bjorn Hansen.
.
It changes the remote address of the client visible to other Apache modules
when two conditions are satisfied. First condition is that the remote client
is actually a proxy that is defined in httpd.conf. Secondly if there is an
incoming X-Forwarded-For header and the proxy is in its list of known
proxies it takes the last IP from the incoming X-Forwarded-For header and
changes the remote address of the client in the request structure.
Description-md5: 007d11f2786e93215cf2b85fc7d38162