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

Configuration File Structure

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 on either Unix or Windows NT, or when you manually install the Windows NT AOLserver service.

The configuration file is in the same format as a Microsoft Windows .INI file, a plain text file that can be modified with an ordinary text editor such as vi or emacs on Unix or Notepad on Windows. 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 Windows NT SETUP program and the Unix nsbootstrap script create a minimal nsd.ini file for you to customize.

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 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.

The parameters for each of the configuration file sections are described below. Starting on Example Configuration Files of this chapter, there are example configuration files for various AOLserver capabilities.

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.