The counter needs mirror homes. You can only become an official mirror site, If you are an ISP or owner of the domain or authorized by your employer to do so. The counter page gets about 1500 (Fifteen hundred) hits/day on average. I appreciate your help on this.
How to mirror the counter pages:
Step 1 - Install GNU wget. GNU wget is a nice web mirroring and retrieval software. It runs on Unix as well as MS NT/95. The program wget is available from:
Step 2 - Decide the name of the directory you're going to mirror the counter pages. This directory must be a valid web server document directory. For example, if your web server document root is /usr/local/apache/htdocs and you want to keep the counter pages in the directory /usr/local/apache/htdocs/Count, then the wget command will look like below:/usr/local/bin/wget -nH -r -np -N -R index.html -L -X cgi-bin \ -P /usr/local/apache/htdocs/Count \ -o /usr/local/apache/htdocs/Count_mirror.log \ --cut-dirs=2 \ http://www.fccc.edu/users/muquit/Count.htmlExplanation of the wget options used:-nH don't create host directories -r recursive web-suck -np don't ascend to the parent directory -N don't retrieve files if older than local -R index.html don't bring index.html -L follow relative links only -X cg-bin exclude cgi-bin directoyr --cut-dirs=2 ignore 2 remote directory components (/users/muquit) -P /foo save files to directory /foo -o /file.log The log will be written to this file. http://xyz/ mirror this URL
Alternatively, if you installed the counter, a helper script is supplied to help you in mirroring. The script mirror_count.sh is intalled in the base directory of the counter. Edit the script first, modify the variables wget, dir and log.
Try the first transfer from command line and then when you're sure it works properly, setup a cron job. Again, carefully check the argument to -P and -o.
Step 3 - Setup a cron job so that wget will check periodically if anything changed in the counter pages. If I change anything I usually upload around 11 PM US Eastern Standard Time (GMT-5). So, I would suggest to setup the cron job at your localtime corresponding to GMT-5. For example, if you're in the US east coast, setup the cron job to run at 12 midnight everyday:0 0 * * * /usr/local/bin/wget -nH -r -np -N -R index.html -L -X cgi-bin -P /usr/local/apache/htdocs/Count -o /usr/local/apache/htdocs/Count_mirror.log --cut-dirs=2 http://www.fccc.edu/users/muquit/Count.html > /dev/null 2>&1Make sure there is no line break in the above command in the crontab file. I broke it up just to fit it in the page.
Again, if you installed the counter, just call the script mirror_count.sh, example:0 0 * * * /usr/local/etc/Counter/mirror_count.shThe 0 0 indicates 0 minutes and 0 hours (that is midnight). If you do not live in the US, adjust this time to GMT-5. For example if you live in UK, it will be 0 5. Note, wget will only transfer the pages modified since the last transfer, so the transfer traffic will be minimal.
Step 4 - Let me know by dropping me a line, so that I can list your site and URL. Please specify the geographic location of your site. Provide a URL if you like it to be mentioned in the credit below the mirror link. Also let me know if it is ok to mention your email address.