spyce
home
license
community
download
examples
resources
wishlist
contrib (@sf)
documentation
intro
lang
runtime
modules
tags
install
exits
sourceforge
statistics
freshmeat

Documentation - Runtime
[[ Spyce ]]
Python Server Pages
by Rimon Barr

Prev: 3.5 - Command line Up: 3 - Runtime Next: 3.6.1 - Example configuration

3.6. Configuration

Since there are a variety of very different installation alternatives for the Spyce engine, effort has been invested in consolidating all the various runtime configuration options. By default, the Spyce engine will search for a file called spyce.conf in its installation directory. An alternative file location may be specified via the --conf command-line option. However, the engine will operate just fine without any configuration file, using its built-in default values. In general, command-line options supercede configuration file options which, in turn, supercede built-in configuration defaults. The options specified in the Spyce configuration file are server-level configuration options (as opposed to file-level options). An example configuration file is provided, called spyce.conf.eg.

The general format of a Spyce file is that of a Windows .ini file. Sections are denoted inside braces (i.e. [section]), and options with values are specified on independent lines separated by a colon (i.e. option: value). Comment lines begin with either a semicolon ';' or a hash '#'. An example of an extensive Spyce file (i.e. with all options specified) is shown, with the individual options described below.


Prev: 3.5 - Command line Up: 3 - Runtime Next: 3.6.1 - Example configuration

Sub-sections:


© 2002-05 Rimon Barr
email: rimon@acm.org
Spyce Powered SourceForge Logo [[ Spyce ]]
Python Server Pages
version 1.3.13