httpd::config(n) 1.0 "Tcl Web Server"

Name

httpd::config - Configuration management

Table Of Contents

Synopsis

Description

The package httpd::config is a core module providing all other modules of the web server with commands to define and read global configuration data.

Public API

config::init config aname

Retrieves a list of resources from disk, specifically the file config. The array variable aname contains the default configuration values to use, and the new, current values after the processing of the configuration file has completed.

config::cget index

Returns the value for configuration key/variable index. The empty string will be returned if there is no such configuration variable.

config::setValue (key value)...

Goes through the specified configuration keys, assigns them the given values, and then stores the changed information back to disk. This call will fail if config::init has not been called before.

See Also

httpd

Keywords

configuration, web server