Right: /directory/header.htm (The slash at the beginning is important!)
Right: directory (No slashes at the beginning or at the end!)
Right: directory/subdirectory (No slashes at the beginning or at the end!)
Here is the code to include sitesearch.pl in your documents. The name of the configuration could be freely selected, in our example it's searchname, This allows for unlimited configurations. Please use only small characters for configuration names. SiteSearch will create an index searchname.index for every configuration in your /data directory where the configuration file searchname.search is stored as well.
<FORM METHOD=POST ACTION="/cgi-f/sitesearch.pl">
<INPUT TYPE=TEXT NAME="query" VALUE="" SIZE=20>
<INPUT TYPE=HIDDEN NAME="engine" VALUE="searchname">
<INPUT TYPE=SUBMIT VALUE="Search now">