Here's an very usefull how-to from Debian Administration: Setting Up Awstats for Apache!
The guide starts like this:
I have noticed people asking questions about web server statistics programs on debian-user mailing list. So I'm posting a compendious version of my original(personal) documentation on how to setup awstats on Debian GNU/Linux for generating statistics for Apache web server. The article focuses on the steps required to get awstats running on your server, setting up cron job for it, and reconfiguring logrotate for apache to take care of lost logs.