Starting with version 2.4, 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:
- Launch Plan Editor
- Check Include to make AWStats available to users
- Check Activated to have new accounts created with AWStats enabled.
See also Website Statistics in the User Guide
Configuration On Unix/Linux
(v. 2.4.1 and up)
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:
- the AWStats virtual directory in the domain root folder
pointing to \HSphere\skeleton\AWStats.
- 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.
- 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).
|