Header/Footer-Files:
Right: /directory/header.htm (The slash at the beginning is important!)
Wrong: directory/header.htm
Wrong: http://www.domain.com/directory/header.htm
Search directory:
Right: directory (No slashes at the beginning or at the end!)
Right: directory/subdirectory (No slashes at the beginning or at the end!)
Wrong: /directory/
Wrong: /directory
Wrong: http://www.domain.com/directory/subdirectory
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">
</FORM>