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 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 subdirectories).

Step 4. If necessary (this should not be needed with most setups), edit the first (top-most) line of the awstats.pl file that is #!/usr/bin/perl to reflect the path were your Perl interpreter is installed. The default value works for most of the Unix OS, but it also might be #!/usr/local/bin/perl.

Step 5. Move AWStats' icon subdirectories and its content into a directory readable by your web server, such as /home/users/public_html/icons.

Step 6. Copy the 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:

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
Topic revision: r2 - 24 Jul 2009 - 15:24:02 - Main.MelanieSeibert
 

Copyright © cPanel 2000-2009.