Configure Awstats To Access It Outside of cPanel
You can set up awstats just like Webalizer to access it outside of cPanel. It is so simple to set up and configure it so that you can access it outside cPanel.
Friends! Just follow the steps given below and you will be able to access Awstats outside of cPanel.
==========================================================
Download awstats from http://awstats.sourceforge.net
Step 2.
Uncompress awstats-6.6.tgz in user’s home folder
Step 3.
Copy the contents of the uncompressed cgi-bin folder to the user cgi-bin directory (this includes awstats.pl, awstats.model.conf, and the lang, lib and plugins sub-directories).
Path for cgi-bin dir of awstats is Awstats6.6/wwwroot/cgi-bin .
Step 4.
If necessary edit the first (top-most) line of awstats.pl file that is
#!/usr/bin/perl
Change it to the path where your Perl interpreter is already installed. Default value works for most of Unix OS, but it also might be
#!/usr/local/bin/perl
Step 5.
Move AWStats icon sub-directories and its content into a directory say paublic_html folder ,readable by your web server, for example /home/users/public_html/icons
Step 6.
Copy awstats.model.conf file into a new file named awstats.myvirtualhostname.conf. This new file must be stored in
/home/user/public_html/cgi-bin.
Step 7.
Edit this new config file with your own setup :
- Change LogFile value with full path of your web server log file
(The path is:
LogFile=”/usr/local/apache/domlogs/domain.com”).
- Check if LogFormat has the value “1″ (it means “NCSA apache combined/ELF/XLF log format”).
- Change DirIcons parameter to reflect relative path of icon directory.
(DirIcons=”/icons”)
- Edit SiteDomain parameter with the main domain name or the intranet web server name used to reach the web site to analyze (Example: www.mydomain.com).
IMPORTANT!
- Change DirData to use the same Statics file than Cpanel Awstats and do not loose any entry.
(DirData=”/home/user/tmp/awstats/”)
Step 8.
Access AwStats by the URL:
www.domain.com/cgi-bin/awstats.pl?config=domain.com
Cheers!!!!! You have configured Awstats to be viewable outside of cPanel!
Like this post ?
Share on your Social Networking Profile ( Facebook, Twitter & Google+ ) and get a flat 10% Recurring discount on our VPS Hosting and Dedicated Servers.
Email us the shared link at : sales@eukhost.com or speak to our live chat operator now, by clicking on the “Live Chat” Scroller on the left-hand side of this page and we will provide you with the discount Coupon right away!




