4.36. Server's configuration file

The PyDADL's server configuration file holds the paramaters used by the PyDADL server. It contains the following sections :

The [xmlrpcd] section holds the following directives :

host
The host address on which the server listens. If left blank, the server will listen to all available network interfaces. This directive is used only by the standalone server, apache uses the directive in httpd.conf.
port
The TCP port on which the server listens. Used only by the standalone PyDADL server. This directive is used only by the standalone server, apache uses the directive in httpd.conf.
ssl_cert_file
The SSL certificate file used for encryption. This directive is used only by the standalone server, apache uses the directive in httpd.conf.
ssl_key_file
The SSL private key file used for encryption. This directive is used only by the standalone server, apache uses the directive in httpd.conf.
sessions_dir
The directory used for storing sessions informations.
functions_dir
The directory where XML-RPC functions resides.
debug
If this directive is set to yes the server runs in debug mode, it will reload XML-RPC functions before each call and will log passed arguments and returned values of all calls.

The [application_server] section holds the following directives :

type
The type of the SQL backend. For the moment, only mysql is supported.
host
The host address of the SQL server that holds the internal PyDADL's application database.
port
The TCP port of the SQL server that holds the internal PyDADL's application database.
user
The username used to connect to the application database.
passwd
The password used to connect to the application database.
db
The name of the PyDADL's application database.

[Note]Note
When you modify the server's configuration file, you have to restart the server process.