Accessing AWStats Outside of cPanel
Accessing AWStats from outside the control panel is easy.
Step 1. Download AWStats from http://awstats.sourceforge.net.
Step 2. Uncompress awstats-5.6.tgz
.
Step 7. Edit this new config file with your own setup:
- Change the LogFile value to the full path of your web server's log file. (The path is:
LogFile="/usr/local/apache/domlogs/domain.com"
, wheredomain.com
stands for your domain name.) - Check to see whether LogFormat has the value
1
(it means "NCSA Apache combined/ELF/XLF log format"). - Change the DirIcons parameter to reflect the relative path of the icon directory.(
DirIcons="/icons"
) - Edit the SiteDomain parameter to include the main domain name or the Intranet web server name used to reach the website to analyze (example:
www.mydomain.com
). Important: — Change DirData to use the same statistics file as cPanel AWStats and do not lose any entry (
DirData="/home/user/tmp/awstats/"
).
Step 8. Access AWStats at the URL www.domain.com/cgi-bin/awstats.pl?config=domain.com
, where domain.com
stands for your domain name.
That's all! AWStats will refresh the statistics every 24 hours.
Yannick Arrimadas Bot info@sauronz.com www.sauronz.com
Article from:
http://docs.cpanel.net/twiki/bin/view/AllDocumentation/AllFAQ/UserSubmitted