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

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

Though 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 it built-in default values. In general, command-line options supercede configuration file options which, in turn, supercede built-in configuration defaults. An example configuration file is provided, called spyce.conf.eg.

The options specified in the Spyce configuration file are server-level configuration options (as opposed to file-level options). 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 Rimon Barr
email: rimon AT acm DOT org
Spyce Powered SourceForge Logo [[ Spyce ]]
Python Server Pages
version 1.3.10