Counter

Web Counter allows you place a counter on your website, showing how many hits you have received.

To access the Web Counter Manager:

Click the Web Counter Manager icon in your Control Panel.

Using Web Counter
To install the Web Counter:
Click Install Counter Software. A confirmation page will display, stating that your request will be processed within 10 minutes. The counter's files will be installed in your cgi-bin directory.

To include the counter on a web page:
The Web Counter must be placed on an SHTML document. An SHTML document is simply an HTML document with an .shtml extension. Include the following code in your page: <!--#include virtual='/cgi-bin/counter.pl' -->

Configuring Web Counter
All configuration will be done with files located in the <domain>-www/cgi-bin/ directory.

This counter cannot be configured so that it doesn't count visits from a certain IP.

To change whether the counter increments when the page is reloaded:
Open the vars.inc file.
Look for the IP locking section, which looks like this: # IP locking (counter doesn't increments when page is reloaded)
# 1=yes 0=no
$lock_ip =0;
$ip_lock_timeout =30; # in minutes

If $lock_up is set to 0, the page will only count visits that take place less often than the $ip_lock_timeout. If $lock_ip is set to 1, then the counter will count every time the page is loaded, regardless of whether it's a refresh, or a new visit.
$ip_lock_timeout determines the length of time that has to pass before any particular visitor will count again.
To turn on (off) animated digits:
Open the vars.inc file.
Look for the animated digits section, which looks like this: # use animated digits
# set $ani_digits to 1 if you want to use the animated digits
#$ani_digits = 0;
$ani_digits = 1;

If you want animation as digits change, $ani_digits should be set to 1. If not, change it to 0. Note that you will change the last line, not the line begin with a hash (#).
To change the number your counter displays:
Open the counter file for the page you wish to change: <pagename>.cnt. For example, if you want to change the counter on index.shtml, the name of the count file will be index.shtml.cnt.
The only information in the file is a number, which is the number of hits your site has already had.
Change this number to whatever you'd like it to be.
The next time you load your page, the counter will show your change.
To change the size of your counter:
Open the vars.inc file.
Look for the digit width and height section, which looks like this: # digit width and height
$width = 16;
$height = 22;

Set $width and $height to whatever size you would like each digit to be.
To change how many digits your counter displays:
Open the vars.inc file.
Look for the padding section, which looks like this: # number of cells to pad with digits
$padding = 6;

Set $padding to the number of digits you'd like to display.

For More Information

Clicking This tool's website, from the Web Counter Manager, will take you to the Apache website with more information on the Web Counter.