Search  
   
Browse by Category
 
Netfirms 24/7 Support .: STATISTICS AND LOGGING .: AWStats .: How do I install AWStats?

How do I install AWStats?

To install AWStats to your Netfirms hosting account, please follow these steps:
 
I. Install and Configure AWSTATS

1. Download AWStats from http://awstats.sourceforge.net/ (current file is awstats-6.5zip)
2. Unzip the file to your local computer (a number of folders will be created)
3. Using an FTP client (eg. Filezilla) or Netfirms File Manager, create a folder in your www directory of your web account called "awstats" (/www/awstats)
4. From the awstats file you unzipped in step 2 copy the "js", "classes", "css" and "icon" folders (located in the wwwroot folder) to the "/www/awstats" folder you just created in your website directory.
5. From the awstats file you unzipped in step 2 copy the contents of the "cgi-bin" folder into your cgi-bin website directory.
6. Edit the awstats.model.conf file and change the following parameters:

LogFile = "../www/log.%YYYY%MM" (assuming your log files are being placed in the www root directory).
SiteDomain = "www.yourdomain.com"
DirIcons = "
http://www.yourdomain.com/awstats/icon"
AllowToUpdateStatsFromBrowser = 1

7. Copy the new awstats.model.conf file to the cgi-bin directory (overwriting the default one).

II. Enable Logging On Your Account:

1. Login to the Netfirms Members Control Panel at
https://controlpanel.netfirms.com
2. Click Hosting
3. Choose Statistics
4. Click Log Files
5. In the Path box, enter a directory where you would like your website's log file to be downloaded to
(NOTE: The log file must be stored somewhere within the /www folder)
6. Click Update 

To access your website's raw log files, connect to your hosting account with either Netfirms File Manager in the Control Panel or use an FTP client (eg. Filezilla).
For more information about AWstats (eg. screenshots, stats compiled, etc.), please visit their website at: http://www.awstats.org/

III. Access AWSTATS

8. You can access them here: http://www.yourdomain.com/cgi-bin/awstats.pl?config=model OR if your domain is being forwarded then please access your stats at (where membername is the Netfirms member name assigned to your Netfirms hosting account): http://membername.netfirms.com/cgi-bin/awstats.pl?config=model

IV. Update AWSTATS

There are 3 ways to update your AWSTATS:

(a) Web Browser method (not recommended for busy sites):

(i) Browse to http://www.yourdomain.com/cgi-bin/awstats.pl?config=model OR if your domain is being forwarded then please access your stats at (where membername is the Netfirms member name assigned to your Netfirms hosting account): http://membername.netfirms.com/cgi-bin/awstats.pl?config=model
(ii) Click the "Update Now" link to process your log files each time you access the stats.

(b) CRON method (recommended for busy sites):

If your hosting plan supports Cron (Scheduled tasks), click here for setting up a cron job to automatically update your AWSTATS.

(c) Command line via SSH method:

If your hosting plan supports SSH, click here for instructions on how to access your account via SSH. Once connected to your account via SSH, the command line to use to update AWSTATS is:
/usr/local/nf/bin/perl ../cgi-bin/awstats.pl -config=model -update

For more support on Awstats, please refer to support documentation at http://awstats.sourceforge.net/docs/awstats_faq.html

How helpful was this article to you?


.: Powered by Lore 1.5.6
Visit Netfirms.com Web Hosting | Copyright © 1998 - 2009 Netfirms, Inc. All Rights Reserved.