This page tells you how to set up the Index Server sample search form for querying your Web site. After you have copied and renamed the sample files from Query.htm, Query.idq, and Query.htx to Sample.htm, Sample.idq, and Sample.htx, you are ready to start.
To set up the search formIn this example, assume you have created a virtual directory for your documents and called it /Mysite.
Open Sample.htm in any text editor, and look for the following line:
<IMG SRC ="is2logo.gif" VALIGN=MIDDLE ALIGN=LEFT>
<IMG SRC ="/iissamples/issamples/is2logo.gif" VALIGN=MIDDLE ALIGN=LEFT>
<FORM ACTION="query.idq" METHOD="GET">
<FORM ACTION="/iissamples/issamples/sample.idq" METHOD="GET">
Because you moved Sample.htm in Step 1, but left Sample.idq in the /IisSamples/IsSamples virtual directory, you must specify the virtual path to Sample.idq.
To set up the New Query link
<INPUT TYPE="HIDDEN" NAME="HTMLQueryForm" VALUE="query.htm">
<INPUT TYPE="HIDDEN" NAME="HTMLQueryForm" VALUE="/corpus/sample.htm">