This is a description of the configuration file for the server.

The name of the file is config.txt

A comment line starts with '#'

A configuration line starts with a name of a parameter, a space follows (not '='!),
which is followed by a value. Everything to the end of line is considered a part of the value.
The name of the parameter cannot contain spaces, the value can.

Parameter 'dir' sets the path to the treebank. It is the root of the directory structure
the clients are allowed to browse.

Example:
dir /data/treebank

Parameter 'corpus_identifier' identifies the treebank. It is used by clients to distinguish files of saved settings for different servers.

Example:
corpus_identifier PDT_2_0

Parameter 'preset_head' can contain a name of a file a list of attributes for the client
should be taken from. If this parameter is not used, the list of attributes is assembled
as a union of attributes from heads of all files selected for searching. A special value
'FIRST' can be used - then the list of attributes is taken from the first selected file.

Example:
preset_head FIRST

Parameter 'max_inactivity' sets the maximum time (in seconds) of the inactivity
of the client before it is automatically disconnected (0 for the unlimited inactivity).

Example (which sets the maximum time of inactivity to three hours):
max_inactivity 11800

Parameter 'max_clients' controls the maximum number of connected clients to the server at the same time.

Example:
max_clients 15

Parameter 'always_accept' allows to set an internet address a connection from should always
be accepted even if max_clients has been reached. It can be used multiple times.

Example:
always_accept localhost

Parameter 'never_accept' allows to set an internet address a connection from should never
be accepted. It can be used multiple times.

Example:
never_accept hacker.org

Parameter 'do_not_record' can be used to suppress printing information about logging of
clients from certain internet addresses. It can be used multiple times.

Example:
do_not_record darcy.mff.cuni.cz