httpd::config(n) 1.0 "Tcl Web Server"
httpd::config - Configuration management
TABLE OF CONTENTS
SYNOPSIS
DESCRIPTION
Public API
SEE ALSO
KEYWORDS
COPYRIGHT
package require httpd::config ?1.0?
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.
- 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.
httpd
configuration, web server
Copyright © 2003 Andreas Kupries <andreas_kupries@users.sourceforge.net>