Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Contact Us
Online Help
Domain Status
Man Pages

Virtual Servers

Topology Map

Server Agreement
Year 2038

USA Flag



Count 2.5 Hit Counter

bullet Introduction
Count 2.5 is a CGI program to keep record of the raw hits of a Web page. It generates a GIF image of the number of hits and returns to the browser as an in-lined image. The program also has a run-time option not to show the digit images, this way the hits can be kept without displaying it. The hits can be be monitored without incrementing from a separate page as well. Almost all of the features are run-time options.


bullet Installation
Connect to your Virtual Private Servers via Telnet or SSH run the command that corresponds your Virtual Private Servers O/S.


bullet Configuration
Configure the Count CGI by editing the ~/usr/local/etc/Counter/conf/count.cfg file. Add your Virtual Private Servers IP address and domain name to the list of authorized IP addresses and domain names at the bottom of the file. Also, add any and all other domain names (such as Virtual Subhosts) hosted on your Virtual Private Servers that will be using the Count CGI to the authorized list. Feel free to remove the other bogus IP addresses and domain names.

The pertinent part of the count.cfg file is shown below.

; 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. one item per line.


bullet Usage
The Count 2.5 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" 
<img src="/cgi-bin/Count.cgi?frgb=69;139;116&display=clock" 

This will create the following counters:



bullet Documentation
Local documentation will be installed on your Virtual Private Servers when you install the Count CGI. This documenation can be accessed in the following directory:


bullet More Information
This documentation is also available at the Count CGI Web site:

Toll Free 1-866-GSP-4400 • 1-301-464-9363 •
Copyright © 1994-2016 GSP Services, Inc.