Article ID: 208632 - Last Review: September 28, 2001 - Revision: 1.0 FP2000: Hit Counter Doesn't Work in Sub web on Netscape ServersThis article was previously published under Q208632 For a Microsoft FrontPage 98 version of this article, see 181746 (http://support.microsoft.com/kb/181746/EN-US/ ) . On This PageSYMPTOMS
When you open a Web page that contains a hit counter, the counter does not
increment past 1.
This behavior usually appears if the Web page is located in a subweb on a Windows NT Server and one of the following Netscape Web servers is running:
CAUSE
This behavior occurs because of how the Netscape Web server determines the
name (path) of a subweb passed to it. Specifically, the PATH_TRANSLATED
parameter does not consistently include a trailing slash. For additional information, see the "More Information" section of this article.
RESOLUTION
To work around this behavior, follow these steps:
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. MORE INFORMATION
The Netscape servers listed in the "Symptoms" section of this article
intermittently change the query string that is constructed by the hit
counter and passed to the hit counter executable file (Fpcount.exe).
The following are examples of query strings that are constructed by the hit counter and then passed to Fpcount.exe, and how the Netscape server determines the location of the file that contains the hit counter information. For Hit Counters on Pages in the Root WebIf the hit counter is on a page in the Root Web, the hit counter constructs the following query string and passes this string to Fpcount.exe:
_vti_bin/fpcount.exe/?Page=hitcounttest.htm|Image=4
In this example, the Netscape Enterprise server correctly determines the
location of the file that contains the hit counter information and
constructs
the path like this:
C:/Netscape/Server/docs/_private/hitcounttest.htm.cnt
For Hit Counters on Pages in a Sub webIf the hit counter is on a page in a subweb, the hit counter constructs the following query string and passes this string to FPcount.exe:
_vti_bin/fpcount.exe/myweb/?Page=hitcounttest.htm|Image=4
In this example, the query string is structured in such a way that the
subweb is
not included. As a result, the Netscape Enterprise server incorrectly
determines the location of the file that contains the hit counter
information
and constructs the path like this:
C:/Netscape/Server/docs/myweb_private/hitcounttest.htm.cnt
Because this path refers to a file that does not exist in the content root,
the
hit counter will not work in a subweb on a Netscape Enterprise NT.
In this example, the correct location for the file that contains the hit counter information should be:
C:/Netscape/Server/docs/myweb/_private/hitcounttest.htm.cnt
The third-party products discussed here are manufactured by vendors
independent of Microsoft; we make no warranty, implied or otherwise,
regarding these products' performance or reliability.
| Article Translations
|

Back to the top
