Installing and using libapache2-mod-geoip on Debian

Installation & Configuration: Install the the needed packages: apt-get update apt-get install -y geoip-bin geoip-database libgeoip-dev libgeoip1 libapache2-mod-geoip The installation normally enables the new module directly. If this is not the case for whatever reason, just enabled it by executing: a2enmod geoip Before restarting Apache, we need to adapt the module's configuration file /etc/apache2/mods-available/geoip.conf as follows: […]