Enhancement on AWstats

Discussion in 'Tips/Tricks/Mods' started by concept21, May 16, 2017.

  1. concept21

    concept21 Member

    Hello guys,
    Here are some very nice features which I find from AWstats. It will make your AWstats report more beautiful and informative. My example is Ubuntu 16.04, ISPConfig 3.1.2.
    =================
    Install perl module Geo::IP

    Edit file /etc/awstats/awstats.conf.local so that:
    LogFormat=1
    LoadPlugin="tooltips"
    LoadPlugin="decodeutfkeys"
    LoadPlugin="graphgooglechartapi"
    LoadPlugin="geoip GEOIP_STANDARD /usr/share/GeoIP/GeoIP.dat"
    LoadPlugin="geoip_city_maxmind GEOIP_STANDARD /usr/share/GeoIP/GeoLiteCity.dat"
    LoadPlugin="geoip_asn_maxmind GEOIP_STANDARD /usr/share/GeoIP/GeoIPASNum.dat"

    Then, create a link from /etc/apache2/conf-enabled/awstats.conf to /etc/awstats/apache.conf

    Reload Apache2. Check your new awstats report by tomorrow. You will feel very happy! :D
    It goes without saying that you have to download and update the free version of Maxmind Geolite data by yourself every week:
    https://www.maxmind.com/en/open-source-data-and-api-for-ip-geolocation
     
    Jesse Norell likes this.

Share This Page