HOME | SITEMAP | SUPPORT | FAQs
DOMAIN MANAGE/BACKROOM | BILLING
4Domains Web Hosting and Domain Registration
Account Login   WebMail

Web Hosting

Domain Names

Domain Auction

Solutions

Home > Support > Addonhelp > Cgilib > Count

Count 2.5 Hit Counter

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.

Installation

To install Count 2.5, connect to your Virtual Server via Telnet or SSH and unpack the Count 2.5 distribution using the commands that match your Virtual Server O/S.

FreeBSD
% vinstall count

BSD/OS
% cd
% tar xvf /usr/local/contrib/wwwcount2.5.tar

NOTE: If your Virtual Server was ordered after Nov 22, 1999, you are likely running FreeBSD. To find out which O/S your Virtual Server is running, use the uname command:

% uname

If your Virtual Server is not already running FreeBSD, Upgrade to a New FreeBSD Virtual Server today!

If your Virtual Server is running BSD/OS, then you must also change the default configuration of Count 2.5. This is done by editing the ~/usr/local/etc/Counter/conf/count.cfg file. Add your Virtual Server IP address and domain name to the list of authorized IP addresses and domain names at the bottom of the file (also, 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.
;
[authorized]
  abcd.foo.com
  abcd
  131.249.1.100
  www.foo.com
  www
  YOUR.IP.ADD.RESS
  YOUR-DOMAIN.NAME

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

Documentation

Local documentation will be installed on your Virtual Server when you install the Count 2.5. This documenation can be accessed in the following directory:

~/usr/local/etc/httpd/htdocs/wwwcount2.5
http://YOUR-DOMAIN.NAME/wwwcount2.5/

This documentation is also available at the Count 2.5 web site:


Why Us? | About | Contact Us
Knowledge Base | Support Request
Expired Domains | Domain Name Auctions | VPS Directory | DNS Tools
Hosting Terms | Domain Terms | Privacy Policy
Copyright © 2008 - 4Domains.com, Inc.


web hostinghostingdomaindomain namedomain namescheap web hostingecommerce website designdomain registration

Web Monitoring | SEO Technology | Hacker Scanner | DNS Tools | Online Backup