Online Documentation

 

PageCount Filter

 
     
  Installation  
 
  • Download PageCount.zip, and extract the files to any directory.
  • Move the ini file to your Windows default directory (in most cases this is \winnt).
  • Move the binary file (PageCount.dll) to your current scripts directory (in most cases this is \InetPub\scripts).

  • The ini file
    • The ini file has three entries per section, and each section title is the domain name to be counted, as follows;

[www.domainName.com]
Data Path=C:\PageCount.dat
HTML Path=C:\PageCount.htm
Extensions=.htm,.cgi,.asp,.tts

  • The Data Path denotes where the actual flat file data will be stored.
  • The HTML Path denotes where the HTML (display of the data) file will be created. Two files of this name are created, and one has the suffix '2' as PageCount.htm2. This second file is one version behind the display file PageCount.htm, this helps to promote thread safeness, and data integrity.
  • The Extensions entry lists the extensions to be included in the count. This list is comma seperated. You can also supply a full file name if you wish to track only one or two files of a specific type. (ie. Extensions=.htm,.cgi,index.asp,.tts).
  • IIS 3.0 install
    • Update the system registry by navigating to HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/W3SVC/Parameters under this key is a value called Filter DLLs. Update the data value at this location with ',scriptpath\PageCount.dll' where scriptpath is the path to your scripts directory. NOTE: The data stored under this key value is comma seperated so be sure to include the comma (this example shows pageCount.dll being added to the end of your filter list).
    • Stop and restart your web server through Peer Web Services/Internet Service Manager (usually on your start menu).
    • Request two or three different pages from your web server.
    • Enter the URL of the PageCount.htm file and verify the data contained within.

  • IIS 4.0 install
    • Open the Microsoft Management Console.
    • Select the current web server from the list available on your server (usually default web server).
    • Stop the web server by right clicking on it, and selecting Stop from the menu.
    • Right click on the web server, and select Properties from the menu.
    • Select the ISAPI Filters tab.
    • Select the Add button.
    • Enter PageCount into the name edit box.
    • Select the browse button, and navigate to your scripts directory. Select the file PageCount.dll, and then select the OK button.
    • Select the Apply button, and then the OK button.
    • Restart the web server by right clicking on it and selecting Start.
    • Save your current settings.
    • Request two or three different pages from your web server.
    • Enter the URL of the PageCount.htm file and verify the data contained within.
 


Copyright
© 1998 Tomahawk Technologies. All rights reserved