Normally, you will never need to look at the configuration file, because you can modify most of the parameters using the setup server described in "The Setup Server" section. This section describes the format of the file and provides detailed information on individual AOLserver parameters.
The configuration file is normally the nsd.ini
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.
The configuration file is a plain text file that can be modified with an ordinary 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, an equal sign, and a parameter value. The parameters of a section continue until a new section is defined or until the end of the file.
In most cases, AOLserver ignores the case of both the parameter names and their values, but application programs can be written to access configuration data case-sensitively. (See the Tcl API and the C API chapters for more information.)
The AOLserver Unix nsbootstrap
script create a minimal nsd.ini
file for you to customize.
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 virtual 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 virtual server, including where pages will be stored and which databases will be accessible.
.gif
icon files for each MIME type used when building directory listings.
.gif
icon files for each MIME type used when building directory listings. This section overrides the [ns/mimeicons] settings for this virtual server.
The parameters for each of the configuration file sections are described below. Starting on page 120 of this chapter, there are example configuration files for various AOLserver capabilities.