With the release of Index Server version 2.0, the Common Gateway Interface (CGI) application Webhits.exe has become the Internet Server API (ISAPI) application Webhits.dll. If you have any .htx files that incorporate hit highlighting, you will need to modify them. If you create new .htx files that incorporate hit highlighting, you need to follow the new syntax shown on this page. You should notice no other differences.
The following example shows how syntax for hit highlighting was written in previous versions of Index Server and contrasts it to the syntax for version 2.0. The differing sections of code are highlighted in bold.
<a href="http://<%server_name%>/scripts/srchadm/webhits.exe<%escapeURL vpath%>?CiRestriction=<%escapeURL CiRestriction%>&CiTemplateFile=/scripts/srchadm/hquery.htw&CiQueryFile=/scripts/srchadm/hquery.idq& CiBeginHilite=<%escapeURL <font color="#FF0000"><em>%>&CiEndHilite=<%escapeURL </em></font>%>&CiUserParam3=<%EscapeURL CiBookMark%>&CiUserParam4=<%EscapeURL DocTitle%>">Show Highlights</a>
<a href="http://<%server_name%>/vpath/template.htw?CiWebHitsFile=<%escapeURL vpath%>&CiRestriction=<%escapeURL CiRestriction%>&CiQueryFile=/scripts/srchadm/hquery.idq& CiBeginHilite=<%escapeURL <font color="#FF0000"><em>%>&CiEndHilite=<%escapeURL </em></font>%>&CiUserParam3=<%EscapeURL CiBookMark%>&CiUserParam4=<%EscapeURL DocTitle%>">Show Highlights</a>