|
Last Updated: December 14, 1997
WWW Count 2.4
- Installation
- Documentation
Installation
To install the WWW Count 2.4, telnet to your Virtual
Server and do the following:
- Untar the WWW Count 2.4 tar file located in the /usr/local/contrib
area.
% cd (this will put you in your home directory)
% tar -xvf /usr/local/contrib/wwwcount.tar
- Now that the WWW Count 2.4 is installed, you will have to change
its configuration for your Virtual Server. This is done by editing
the "count.cfg" file which is
located in your ~/usr/local/etc/Counter/conf area. You will need
to substitute the occurrences of YOUR-DOMAIN.COM in this file
for your domain name, and the occurrence of YOUR.IP.ADDR.ESS
for the IP address of your virtual server. The pertinent parts of
the "count.cfg" file are shown
below.
####
# BLOCK 4
# Ignore count block, you might want to ignore the local sites.
# If you do not want to ignore any hosts from
# counting, just put { on one line and } on the next line but make sure
# the braces exist!
# It's a required block.
##
# netmasks can be used to ignore a entire network or a specific
# range of hosts in the network. Read the counter documentation to
# know about netmasks. Wild carding can be used.
# one item per line.
####
{
YOUR.IP.ADDR.ESS
}
####
# BLOCK 5
# Auth block
# All possible names and IP addresses by which your host can be referred.
# These hosts can access the counter remotely or locally. Host running
# the http server must exist here. Wild card can be used.
#
# If Count.cgi was built with the USE_DNS macro defined, this block need
# only list valid IP addresses. In that case, it is recommended that this
# block only contain wild-carded IP addresses. Fewer entries in this
# block will decrease start-up overhead.
# one item per line.
##
{
www.YOUR-DOMAIN.NAME
YOUR-DOMAIN.NAME
YOUR.IP.ADDR.ESS
}
- The WWW Count 2.4 cgi has already been compiled for your use. All
that you need to do is create a test page with the appropriate HTML
source and try it out. Examples of HTML source that can be used are
given below:
<img src="/cgi-bin/Count.cgi?dd=B|frgb=69;139;116&df=home.dat" align=absmiddle>
<img src="/cgi-bin/Count.cgi?frgb=69;139;116&display=clock" align=absmiddle>
This will create the following counters:
Documentation
Local documentation will be installed on your Virtual Server when you
install the WWW Count 2.4 tar file. This documenation can be accessed
in the following directory:
~/usr/local/etc/httpd/htdocs/wwwcount2.4 or
http://www.YOUR-DOMAIN.NAME/wwwcount2.4/
This documenation is also included here for your reference.
WWW Access Counter 2.4 Main Page
WWW Access Counter Example Page
(Very Helpful!)
WWW Access Counter Options
WWW Access Counter Frame Color
RGB Values
|