The samples on this page refer to the file "home.config," which is located in your "public_html/counter" directory.
To view and edit "home.config," move to your "public_html/counter" directory and open the file with pico:
frank $ pico home.config
CountFile = /users/
yourgroup/username/
public_html/counter/home.count
CountFile = /users/
yourgroup/username
/public_html/counter/home.count
DigitSet = 3
CountFile = /users/
yourgroup/username
/public_html/counter/home.count
yourgroup/username
AccessLog = /users//public_html/counter/access.log
yourgroup/username
ErrorLog = /users//public_html/counter/error.log
Stats/For/My/Page
UseLogging = 1
Title =
|
Configuration Options |
|
|---|---|
|
CountFile |
Path to the data file that stores the number of
hits
|
|
DigitPath |
Location of an alternative set of digits |
|
SizeX |
Width in pixels of one of the alternative digits |
|
SizeY |
Height in pixels of one of the alternative digits |
|
AccessLog |
Path to the data file that stores the stats
|
|
ErrorLog |
Path to the data file that stores error messages that
may be generated
|
|
UseLogging |
Either 1 to use the logging feature or 0 to not |
|
TransColor |
The RGB Value of a color you want to make
transparent
|
|
FrameColor |
The RGB value you want the frame to be
|
|
FrameWidth |
Size in pixels you want the frame to be |
|
Specifies which of the character sets you wish to use
for the generated image.
|
|
|
Access Logging Configuration Options |
|
|
Title |
The title you want to appear in the stats page
|
|
MinRef |
Sets the number of times a web page must access the counter to make it into the stats display |
|
MinRemote |
Sets the number of times a remote machine must access the counter to make it into the stats display |
|
MinAgent |
Sets the number of times a browser must access the counter to make it into the stats display |
There is some degree of risk in having a world writeable file.
A world-writeable file is one that ANYONE, ANYWHERE has the ability to change. And we all know that there are people out there who can and will do mean things. The fact that you have a world-writeable file could allow someone to deposit a large amount of data in one of your files, alter the count on your page, or mess up your stats file.
The counter requires one world-writeable file; using the logging feature requires a total of three (03) world-writeable files.