I have created first mod_geoip custom module for CPanel WHM using CPanel Easy Framework POD.

which will be then install using /scripts/easyapache on command line or Apache Update using WHM on your choice whether to install it or not.

I wroted it in february and published on my site, but after few days CPanel Developer DAN contacted me to enhance with there requirements that it can be added to CPanel Custom Module Listing. I made several changes to first version as suggested by CPanel Developers and alhamdulillah succeeded in it and now its listing in CPanel Custom Module. 🙂 You can install it by using following steps

1) Download

wget http://easyapache.cpanel.net/optmods/custom_opt_mod-mod_geoip.tar.gz

or

wget https://www.sohailriaz.com/downloads/custom_opt_mod-mod_geoip.tar.gz

2) Installation

tar -C /var/cpanel/easy/apache/custom_opt_mods  custom_opt_mod-mod_geoip.tar.gz

Thats it, now you can run

/scripts/easyapache

or

Login into WHM and go to EasyApache Update

It will show you the Mod_GeoIP included in it and you can install it by checking the box.

Related Posts

8 thoughts on “Mod_GeoIP Custom Module for CPanel WHM

  1. wow Sir i am impressed to see that our teacher is doing so many things in Linux world .And even international people are accepting your work .

    Your Ex-student from Inara

  2. Trying to install there shows an error:

    tar -C /var/cpanel/easy/apache/custom_opt_mods custom_opt_mod-mod_geoip.tar.gz
    tar: You must specify one of the -Acdtrux' or –test-label’ options

    Is this normal?

  3. Hi,

    I need a help. Is there any way we can install mod_substitute via WHM easyapache UI. I tried installing using script but I am not finding a way to install it from WHM easyapache section.

    Thanks in advance.
    Santhosh

Leave a Reply

Your email address will not be published. Required fields are marked *