=head1 NAME Uttu - web interface driver =head1 SYNOPSIS In httpd.conf: PerlModule Uttu PerlTransHandler Uttu UttuDefine variable value UttuConf conf/uttu.conf conf/my.conf =head1 DESCRIPTION Uttu is a web interface driver that works with a framework and function sets to build an application. Support is provided for building the infrastructure for a site -- no demands are made for doing sessions in a particular way, or authenticating against a particular database. The actual specifics are defined by the framework. This allows you to create your own flavor of Uttu, if you desire, without having to muck around in the Uttu module. Think of LPC and LPMuds with their driver and mudlib. Uttu itself sets up a particular environment in which a content handler such as L handles requests. Thus, the full capabilities of the content handler are available. In addition, the global $u variable is available at all times (in Mason - methods of access may vary with the content handler environment). This is a Uttu object that contains the current configuration as well as notes for the current request. The content handler as well as other aspects of the request handling are configured with a configuration file specified by the C Apache configuration directive. The framework and function sets may all define variables for the configuration file. =head1 APACHE DIRECTIVES =head2 UttuConf UttuConf configuration/file This will read in the specified file(s) and set up the content handler object. If the file is given with a relative path, it is understood to be relative to the current server root. Files are read in the order they are listed. =head2 UttuDefine UttuDefine variable value This will set the particular variable to have the specified value for use in the configuration files. This allows such things as general configuration files that change with a username, for example, that is defined in the httpd.conf file. Values are scalars. =head2 UttuDefineList UttuDefineList variable value1 value2 ... This will set the particular variable to have the specified list of values for use in the configuration files. Multiple uses of UttuDefineList with the same variable name will merge values. =head2 UttuDefineMap UttuDefineMap variable key value This will set the particular variable to have the specified mapping of keys and values for use in the configuration files. Multiple uses of UttuDefineMap with the same variable name will merge values. =head1 CONFIGURATION The configuration file is read using L. See L for file format details. This file is broken into sections, each module or function set having its own section. See the individual documentation for each module, framework, or function set for the variables defined by that module. =head2 [global] variables Global configuration variables directly affect how Uttu handles requests before handing off to the content handler. Some of these configuration variables may be used by function sets as defaults, for example, the database connection parameters. Specifying the [global] section is optional (though may be required if using sections in the configuration file). If not using a [global] section, prepend to the variable names listed here, as has been done when referencing them as variables for substitutions (e.g., C<$global_content_handler>). =over 4 =item content_handler This is the content handler to use when processing pages. For example, C is included with the standard Uttu distribution and creates an C object to handle pages. See L for what a content handler should provide. Uttu comes with support for AxKit (C), HTML::Mason (C), and the Template Toolkit (C