Nisadas

unstructured. thoughts.

Setting up AWStats with GeoIP

with one comment

The first thing anyone who’s set up a blog would want to know… well, generally it would be something like “How many people actually check this out?”. This is where web statistics come into play.

Previously I used Tracewatch, which was quite a handy piece of work. Now I use the WordPress Stats plugin, as well as an account at Statcounter. However, apart from Twatch (which I dropped since it doesn’t seem to have been updated in some time) the other two have been a little vague for my tastes.

Therefore, I looked around and found a free stat counter – AWStats. A little searching on the net led me to the easiest method to install AWStats on the Dreamhost wiki and also the method to install the GeoIP plugin for AWStats to figure out from where my visitors are coming from.

The only additional piece of work I did was setting up a .htaccess file to the otherwise cumbersome link to view the stats. By setting the DirectoryIndex to a PHP file, I then added the header(Location: “URL”) line to direct to the stats link.

Voila! I now have a working set of stats with the GeoIP plugin working… :)

Written by Dulan

January 13th, 2009 at 10:41 pm

Posted in Geek,Sri Lanka

Tagged with , ,

One Response to 'Setting up AWStats with GeoIP'

Subscribe to comments with RSS or TrackBack to 'Setting up AWStats with GeoIP'.

  1. [...] original post here: Setting up AWStats with GeoIP Related ArticlesBookmarksTags Setting up cakePHP on Mac OS X … php Now all error [...]

Leave a Reply