Documentation
Local documentation will be installed as manpages on your Virtual Server when you
install the http-analyze tar file. This documentation can be accessed in a telnet session
after configuring your virtual server to view manpages in your virtual server directory
structure. To do that, you need to add the following line (alias) to ~/.cshrc file on your
virtual server:
alias man man -m '/usr/home/<username>/usr/local/man'
To make this change effective, use the source command:
% source .cshrc
Once the above is configured you can view the http-analyze manpages during a
telnet session by using the man command:
% man http-analyze
There is also online documentation available at the http-analyze home page:
In order to cause your web server to automatically update your usage
statistics, you may want to use the cron program. It is
recommended that statistical calculations for your web site be run a maximum of one-time
per day so as to not overload your virtual servers processing capabilities.
By default, all new virtual servers have had a "stats.cron" file
added to the root directory of your server which deletes all log files at midnight on the
first of each month.
# command deletes all log files at midnight on
first of each month
0 0 1 * * /usr/local/bin/vnukelog2 -a
This assists you in managing the size of your log files. If you chose to add a cron for
automatically calculating statistics each night at 10pm you might add the following
comments to the stats.cron file.
# YOUR_DOMAIN.COM
MAILTO=""
00 22 * * * /usr/home/login_name/usr/local/bin/http-analyze -vm -S your_domain.com -o /usr/home/login_name/usr/local/etc/httpd/htdocs/directory_where_you_want_statistics_placed /usr/home/login_name/usr/local/etc/httpd/logs/your_domain.com_access
Notations: The above command line should be edited in an ASCII editor and
contain no line breaks. Substitute items in red for your account information. Be sure to
run the crontab command after making modifications (information available on the cron
support page).
Additional Options
If your Virtual Server was configured after December 15, 1998, you may
modify your httpd.conf files to allow hostname look-ups by editing your httpd.conf file.
Look for the following comments:
# HostnameLookups: Log the names
of clients or just their IP numbers
# e.g. www.apache.org (on) or 000.00.000.000 (off)
# The default is off because it'd be overall better for the net if people
# had to knowingly turn this feature on. Turning this feature to on can
# slow access to your site. Most logfile analysis programs will do
# hostname lookups off-line (which obviously does not affect your server
# perfromance).
HostnameLookups off
The older style of httpd.conf file would not contain the above comments,
you would therefore add the below line to your httpd.conf file.
# INFO to track country info for search
engines
DNSMode Standard