Making the world a better place

Welcome to calodges.org!

 

Below are the CGI Script installation details

 

 

COUNTER - A CGI-script to track and display the number of hits your pages get.

 

Install instructions:

 

  1. Create a file called .htaccess. Place the file in the same directory where the counter page resides. The .htaccess file should contain the following lines.

     

    Options Indexes FollowSymLinks Includes ExecCGI AddHandler server-parsed .html  

     

  2. Initialize your counter with a start value. Do this by creating a file with the same basename as your .html file that you plan to put the counter on, but with the extension .count, instead of .html. For example, for a file called index.html, create a file by the name of index.count. Put this file in the same directory as the index.html file. The index.count file will contain just one number: the value from which you want your counter to begin (probably 0).

    You can create the *.count file locally on your own PC and then use an FTP client to upload it to your server (in ASCII mode).

  3. Make sure the *.count file is writable.

Usage

Now you are ready to implement your new counter. Place the counter server side include in the HTML of the page on which you want to have a counter. In the *.html file include something like the following in the main body of HTML.

Textual Counter

<!--#exec cgi="/cgi-bin/counter/c4.pl" -->  

 

 

 

 

 

Discover Masonry

Member Center