NAME

sites, runningsites - configuration details for virtual servers


SYNOPSIS

$ZEUSHOME/webadmin/conf/sites $ZEUSHOME/webadmin/conf/runningsites $ZEUSHOME/web/conf/runningsites


DESCRIPTION

The Zeus Web Server maintains its configuration in a number of directories. The format is one file per virtual server, with the name of the file being the name of the virtual server. Each configuration file is plain ASCII and takes the format of space separated key value pairs. Keys use exclamation marks (!) to separate components from each other. A configuration file might look like:

     modules!access!enabled no
     modules!access!ldap!enabled no
     modules!cgi!allowanywhere yes
     modules!cgi!allowcmd yes
     modules!cgi!autoid no
     ...

etc. An example skeleton configuration file is located in $ZEUSHOME/webadmin/conf/skel. This can be used as the basis for modification by scripts.


DIRECTORIES

The Zeus Admin Server keeps configuration for a site in the $ZEUSHOME/webadmin/conf/sites/ directory. When the system administrator starts a virtual server running, it is copied into the $ZEUSHOME/webadmin/conf/runningsites/ directory. Conversely, it is removed when the virtual server is stopped.

The Zeus Web Server is also informed (either locally or remotely across a cluster) and it writes a copy of the configuration into the $ZEUSHOME/web/conf/runningsites/ directory. This means that if the server running the Zeus Web Server is rebooted, it can immediately restart from its last known configuration.

The $ZEUSHOME/webadmin/bin/addserver.sh script takes the 'skel' file and copies it into the $ZEUSHOME/webadmin/conf/sites directory, and sets the document root, IP address, and other details.


FILES

$ZEUSHOME/webadmin/conf/skel


SEE ALSO

webctl(8)


COPYRIGHT

Copyright (C) 2000-2001 Zeus Technology Limited. All rights reserved.