leafbrazerzkidai.blogg.se

Cgi bin awstats awstats pl
Cgi bin awstats awstats pl











  1. #Cgi bin awstats awstats pl how to#
  2. #Cgi bin awstats awstats pl install#

LoadPlugin=”geoip_city_maxmind GEOIP_STANDARD /var/www/GeoIP/GeoLiteCity.dat”.( using the MaxMind direct download method) LoadPlugin=”geoip GEOIP_STANDARD /var/www/GeoIP/GeoIP.dat”.LoadPlugin=”geoip GEOIP_STANDARD /var/lib/GeoIP/GeoIP.dat”.Now let’s edit the .conf we created above.ScriptAlias /awstats/ "/var/www//stats/cgi-bin/"ĪuthUserFile /var/AuthGroupFile /dev/null ScriptAlias /cgi-bin/ /var/combinedĮrrorLog logs/_error_logĪlias /classes "/var//icon "/var/www//stats/icon/"

cgi bin awstats awstats pl

We'll be adding this subdomain to track the above domains stats: You should already have a domain configured that you’d like to track the stats of like this: Next let’s alter the Apache httpd nf file and add an entry for our new subdomain:Īdd this information in /etc//nf.Mkdir /var/& mkdir /var/Next we copy the Awstats program files to our newly created /cgi-bin directory:Ĭd /usr/share/awstats/wwwroot/ & cp -R * /var/www//stats/ For security purposes the default Apache httpd documentRoot in Centos is /var/www/ Next we create the directories for the new subdomain.

#Cgi bin awstats awstats pl install#

  • After successful install of the above software we will make a copy of the default Awstats config that we can use over and over:Ĭopy default conf so we always have a clean starting point if something goes wrong.Ĭp /etc/awstats/ /etc/awstats/Ĭp /etc/awstats/ /etc/awstats/.conf.
  • Sudo mkdir /var/www/GeoIP cd /var/www/GeoIP If you choose to use only the MaxMind files directly, you can put them in /var/www/GeoIP as follows: Since there is no Centos package for the GeoLiteCity.dat you can get the single file from MaxMind as well as updated GeoIP.dat files here: Yum -enablerepo=epel install awstats GeoIP-data perl-Geo-IP
  • Installing the EPEL software repository, Awstats and optional components for Geo tracking:Ĭlick the EPEL link for more verbose instructions or give this command:.
  • cgi bin awstats awstats pl

    In this howto we will assume: you are root, you own and have administrative access to create the subdomain.

  • Apache httpd configured properly with the domain you want to track with Awstats.
  • Root access to an official current Centos system.
  • Administrative control over your domain and DNS.
  • The purpose of this particular setup is to give a stats link to your customers or for your own sites that will show the actual stats as recorded by the Apache httpd log files so you or your customers can contrast and compare with Google Analytics or other stats.
  • You are running an official copy of Centos and not a datacenter clone/image, cPanel or other Centos derivative.
  • #Cgi bin awstats awstats pl how to#

    This howto will show you how to configure Apache httpd to display unique stats on from for as many domains as you have configured.













    Cgi bin awstats awstats pl