> Main > Products and Services > Purchase > Company
English / Russian

Documentation

CNSearch 1.5.1

© "CN-Software" Ltd. 2002-2008
support@cn-software.com
www.cn-software.com
Previous | Table of Contents  | Next

cnsearch.conf

The search module configuration file (cnsearch.conf by default) should be stored in the same directory with the file 'search.exe'(search.cgi for Unix). It is a text file specially optimized for fast processing. Cnsearch.conf consists of two parts:

The structure of the configuration file looks as follows:

::CONFIG regcode = Enter Oner registration code here

::CONFIG stats = password

::CONFIG content-type = text/html

::HTMLTOP

<HTML>

<TITLE>This is the top part of the HTML document</TITLE>

</HEAD>

<BODY>

::HTMLRESULT

<P>This the description of the found page.

There will be displayed 10 such descriptions.

::HTMLNOTFOUND

<P>This text will be displayed if

no search results will be found

::HTMLBOTTOM

This is the bottom part of the HTML document

</BODY>

</HTML>

You can use single-line comments in the configuration file. Each comment starts with the symbol "#".

__________

Configuration Parameters

Templates Settings

Using Various Templates

Searching Through Selected Sites

Grouping Search Results by Sites


Previous | Table of Contents  | Next