but I can get it to work, here is what I did:
Code: Select all
sudo apt-get install awstats
Code: Select all
sudo nano /etc/lighttpd/lighttpd.conf
server.modules = (
"mod_accesslog",
"mod_fastcgi",
"mod_status",
"mod_cgi",
"mod_rewrite" )
Code: Select all
sudo lighttpd -t -f /etc/lighttpd/lighttpd.conf
Code: Select all
sudo nano /etc/awstats/awstats.conf
# Change the LogFile variable to point to the lighttpd log file
LogFile="/var/log/lighttpd/access.log"
# Change the LogFormat to the log settings for lighttpd
LogFormat="%host %virtualname %logname %time1 %methodurl %code %bytesd %refererquot %uaquot"
Code: Select all
sudo /usr/lib/cgi-bin/awstats.pl --update --config=test
http://RaspberryPiIPaddress/cgi-bin/awstats.pl
but I always get 404 - Not Found