Categories: Hostripples Featured

How to access Awstats From Outside the control panel?

Accessing Awstats from outside the control panel is easy.
Step 1 >> 
Download awstats from http://awstats.sourceforge.net

Step 2>> 
Uncompress awstats-7.2.tgz

Step 3>>
Copy the contents of the uncompressed cgi-bin folder from your hard drive to the user cgi-bin directory (this includes awstats.pl, awstats.model.conf, and the lang, lib and plugins sub-directories).

Step 4>>
If necessary (should not be needed with most setups), edit the first (top-most) line of awstats.pl file that is
#!/usr/bin/perl
to reflect the path were your Perl interpreter is 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 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

That’s all!!!


HR-ADMIN

Recent Posts

The Ultimate Guide to WordPress Maintenance: Tips and Tricks

When you’re running a business that relies on website traffic and sales to succeed. Then you need to keep it…

1 week ago

Migrate In 2024: Our Comprehensive Website Migration Manual to the Next Level

Migration! Yes, this word is very big in the web hosting industry and it has its importance. Especially for businesses…

1 week ago

Unveiling the Importance of Server Maintenance Plans: A Comprehensive Guide

The server is the backbone of the web hosting industry and it acts like a HERO in the web hosting…

2 weeks ago

IP Address is Blocked? A handpicked list of Solutions to Fix it?

Imagine you are on holiday having a cup of tea and browsing your website or blog.Then, what next?You will get…

4 weeks ago

Explained: Difference between Nameservers Vs. DNS

The web hosting industry is growing every minute, day, and year. It has many terminologies that are important to understand…

1 month ago