AWStats

Some specifics after installing AWstats. See http://wiki.dreamhost.com/index.php/AWStats_Installation for nice instructions.

Perl to run the page

perl /home/lonny1/awstats/tools/awstats_buildstaticpages.pl  -config=appropedia.org -update \  -awstatsprog=/home/lonny1/awstats/cgi-bin/awstats.pl  -dir=/home/lonny1/appropedia.org/statistics/

Changes to log file

LogFile="/home/lonny1/logs/appropedia.org/http/access.log"
LogFormat="%host %other %other %time1 %methodurl %code %bytesd %refererquot %uaquot"
SiteDomain="appropedia.org"
HostAliases="www.appropedia.org"
DNSLookup=0
DirData="/home/lonny1/awstats/data/"
DirIcons="icon"
SaveDatabaseFilesWithPermissionsForEveryone=0
DefaultFile="index.php index.html"

Cron -e

One every hour on the fifteen minute mark.

15 0 * * * perl /home/lonny1/awstats/tools/awstats_buildstaticpages.pl
-config=appropedia.org -update
-awstatsprog=/home/lonny1/awstats/cgi-bin/awstats.pl
-dir=/home/lonny1/appropedia.org/statistics/

Once per day at 3am:

0 3 * * * perl /home/lonny1/awstats/tools/awstats_buildstaticpages.pl
-config=buildcapacity.org -update
-awstatsprog=/home/lonny1/awstats/cgi-bin/awstats.pl
-dir=/home/lonny1/buildcapacity.org/statistics/

Future steps

  • Password protect the folder [1].
Cookies help us deliver our services. By using our services, you agree to our use of cookies.