First thing first; Have a fresh OS Environment so you incur no errors, then make sure you have Perl installed and setup within Abyss.
Download awstats zip file:
http://awstats.sourceforge.net/#DOWNLOAD
Step 1:
Extract the archive where you want awstats to operate from i.e. c:\Abyss\awstats or c:\awstats or c:\program files\awstats
Step 2:
Using File manager / Explorer cut all the contents from cgi-bin found in the awstats folder within wwwroot, and then paste all the cgi-bin content including folders directly into the wwwroot folder within awstats.
Step 3:
Make a copy of the existing awstats.model.conf file, and paste it somewhere to edit.
Then rename the file to awstats.yourdomain.com.conf or awstats.ip address.conf
e.g. awstats.
www.mydomain.com.conf or awstats.192.168.0.1.conf
Step 4:
Move the edited .conf file back to the awstats wwwroot folder.
Step 5:
Create a directory within the awstats folder called data.
Step 6:
Modify your awstats.yourdomain.com.conf, or edit with notepad or wordpad and change the following variables:
LogFile="C:/Abyss/log/access.log" or where ever your domain log can be found - your log file location.
DirCgi="/awstats"
SiteDomain="
www.yourdomain.com" or "your IP" if using IP Based System.
HostAliases="localhost
www.yourdomain.com yourdomain.com 127.0.0.1 REGEX[myserver\.com$]"
or "localhost your IP 127.0.0.1 REGEX[myserver\.com$]"
DirIcons="/awstats/icon"
DirData="data" - Directory of awstats own stored logs,
e.g. DirData="c:\awstats\data"
DirIcons and DirCgi can be left as is.
AllowToUpdateStatsFromBrowser=1 - This allows you to manually update the stats when you visit the statistics.
Step 7:
Open your Abyss interface, and create an alias, here is an example:
Virtual Path = /awstats - use this default name otherwise you will have to change alot more variables, to point everything to the new alias.
Real Path = c:\awstats\wwwroot
Then apply and restart Abyss.
Step 8:
In the Abyss interface administration goto index files and add:
awstats.pl
This saves a blank page opening and also becoming a security hole to reading other files within the awstats Alias. Basically the main file which runs the statisics automatically loads as a default index file called awstats.pl
Step 9:
Restart Abyss if any changes need to be applied and goto:
Http://www.yourdomain.com/awstats
or
Http://192.168.0.1/awstats - this is if you are just using an IP based system with no domain resolution.
Step 10:
Once your stats have loaded click the update and there you go.
I thought i would write this as i keep forgetting my self "how to", lol, so im also helping my self providing this Tutorial.
Enjoy !
Creator: R2000 - 4octets.co.uk