Access Counters

From HE FAQ
Revision as of 16:14, 24 May 2010 by Galperin (Talk | contribs)

Jump to: navigation, search

This information only pertains to Hurricane Electric's Shared Web Hosting package. There may be different information in our other categories.

For our v3 servers, we have included a much more streamlined counter system. It's easy to administer and has a lot of nifty options, such as stylish (and sometimes offbeat!) counter graphics and per-page access counts.

Please note that this feature is only available for "Starter Virtual Host" and above.

If you need to upgrade your account type, please email support@he.net to request an account type upgrade.

To install it, simply SSH into your server and execute the command:

install_counter

Make sure to read the output, as it contains important information regarding counter administration.

The installation script creates /home/YOUR_ACCOUNT/.web/gcount-data.bin and the file counter.cnf will exist in there. This is the configuration file for access to the management of your counters. In order to set your user name and password for maintaining your counters, you will need to edit this file in a plain text editor such as Notepad. If you do not, the default information listed in this file will be your user name and password for managing your counters. When you're done, you can include the counter in your individual pages using the following HTML:

<a href="http://YOURDOMAIN.TLD/counter/gcount.php?name=NAME&show=report">
	<img src="http://YOURDOMAIN.TLD/counter/gcount.php?name=NAME&digits=5&typeface=73"></a>
  • YOURDOMAIN.TLD - Your domain goes here.
  • NAME - The name of the page you're keeping track of. It's recommended that you use the name of the page itself, ('index' for index.html, etc) but any name will do.
  • digits= - The number of digits in your counter
  • typeface= - The typeface you want to use. Click here for the full list.

To administer your counter data, just click on your counter graphic, then click 'Admin'.