By Example
# Comment
[global]
set var value # comment
set var value
var = value # comment
# global values, e.g. nameserver, etc.
[server name]
# opens a named server definition context.
# name would preferable be the domain of the virtual server
# all data up to next [server ..] or end of file is collected into this virtual server
[database driver name]
# opens a named server definition context.
# name is preferable the name of the database
# must be inside a server definition context.
# all database up to next [database ..] is collected into one database pool
# all pools inside this database context are set up inside this virtual server
[http_auth backend name]
# http_authentication definition context
[ldap name]
# ldap pool definition context.
Parser
- if line starts with
[
eval it
- if line starts with
set
eval it
- if line starts with
#
ignore it
- if second token on line is
=
then reassemble line to set token rest-of-line and eval