[ Previous ] [ Contents ] [ Index ] [ Next ]

Configuration File Structure

This section describes the format of the configuration file and provides detailed information on individual AOLserver parameters.

The configuration file is normally the nsd.tcl file in the AOLserver home directory (the directory where AOLserver was installed). You must specify the configuration file when you start up AOLserver with the -c command line flag (see page 5).

The configuration file is a Tcl file that can be modified with a text editor such as vi or emacs on Unix. The file is made up of named sections with one or more parameters. Each section heading is of the form "ns/...". Each parameter is composed of a parameter name and a parameter value. The parameters of a section continue until a new section is defined or until the end of the file.

The ns_section and ns_param Tcl functions are used to define each section and the parameters for each section in the configuration file. The general format of the configuration file is as follows:

    ns_section "ns/..."
    ns_param param-name param-value
    ...

Configuration file examples begin on page 79. The default configuration file is shown on page 79.

Configuration File Hierarchy

Although there are a large number of configurable parameters for AOLserver, most of them are not required. Also, the parameters are organized into a hierarchy branching off of the following main sections, letting you configure AOLserver at a global level, configure each server, and configure each database you will be accessing. This hierarchy of sections allows you maximum flexibility to provide exactly the capabilities you need on each server, including where pages will be stored and which databases will be accessible.

The parameters for each of the configuration file sections are described below.

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1998-99 America Online, Inc.