Parallels H-Sphere Documentation Administrator Guide

 

AWStats Support

 

Last modified: 21 Dec 2007

 

WARNING: This documentation covers Parallels H-Sphere versions up to 3.1. For the latest up-to-date Parallels H-Sphere documentation, please proceed to the official Parallels site.

H-Sphere supports AWStats, a free tool that generates advanced graphical web server statistics reports. AWStats is set up on each Unix/Linux and Windows web server with H-Sphere installation or upgrade.

H-Sphere supports AWStats in http traffic and doesn't work with FTP and Mail traffic stats.

 

Setup

To enable AWStats in a plan:

  1. Launch Plan Editor
  2. Check Include to make AWStats available to users
  3. Check Activated to have new accounts created with AWStats enabled.

See also Website Statistics in the User Guide

 

Configuration On Unix/Linux

AWStats has config files for each user domain:
/hsphere/local/home/{user}/{domain.name}/cgi-bin/awstats.{domain.name}.conf
Also, symlinks to them are created in /hsphere/shared/awstats/wwwroot/cgi-bin/.

 

Configuration On Windows

AWStats collects Web statistics with reports generated every 24 hours.

When a user (for example, usertest) turns on AWStats for a domain (e.g., mydomain.com), H-Sphere creates:

  1. the AWStats virtual directory in the domain root folder pointing to \HSphere\skeleton\AWStats.
  2. the AWStats\awstats.log file in the user's log directory (\hshome\usertest\logs\mydomain.com\AWStats\awstats.log) where domain logs for AWStats are collected.
  3. the AWStats configuration file for a domain (awstats.mydomain.com.conf) in the \HSphere\skeleton\AWStats directory.

The awstats.log file is automatically rotated by AWStats (AWStats removes processed rows from this file). The \HSphere\bin\stats.exe utility updates AWStats statistics daily at 00:01 AM.

The AWStats domain page is password-protected and can be viewed only by the domain owner (password protection is off if Serv-U is used).

 



© Copyright 2018. Parallels Holdings. All rights reserved.