If the counter does not work, please check for owner and permissions of the file "webcluster.cnt" in the cgi-bin directory. Your apache needs write permissions to this file. If the file does not exist please check if apache has create permission in this directory or create it manually by a "touch webcluster.cnt" and adjust permissions to 6xx with the correct owner of the apache server. In my case it looks like this: -rw-r--r-- wwwrun www 5 Feb 24 11:12 webcluster.cnt You can change the path in the script, but take care to stay in the apache directory tree! Depending on the apache setup it is not possible to use files outsite the apache directory tree defined by it's root (something like /tmp will not work in usual setups !).