# /etc/aolserver4/domains.cfg # LEG 21032005 # server magma.com.ni "Magma Soft" { fqdn magma.com.ni fqdn www.magma.com.ni http yes https yes } server tinkerbelle.be "Tinkerbelle Village" { fqdn tinkerbelle.be bind virtual bindssl 0.0.0.0:4430 root "/var/lib/tinkerbelle.be" database postgres dbhost anteris.nodo.netport dbname tinkerbelle } server matagalpa.org "Matagalpa Org" { skip false fqdn matagalpa.org fqdn www.matagalpa.org bind virtual bindssl 0.0.0.0:4443 root "/var/lib/matagalpa.org" database postgres dbhost anteris.nodo.netport dbname matagalpa_org } # Documentation: # # Main server configurations: # # set defaultserver serverid # singlevalue,optional, default: first serverid in the file # set debug true # singlevalue,optional, default: false # set confdebug # singlevalue,optional, default: false # writes configuration sections and parameters on stdout as the # server loads. # usefull for debugging, should be able to make a "precompiled" # configuration file too. # # stats bool # optional, if true serverstats are generated, default false # stats_url rel_url # defaults to "_stats" # stats_user name # defaults to "aolserver" # stats_password password # defaults to "stats" # # Virtual server configuration # # You must not use a comment inside a server stanza, but you can # comment out an entry by makeing it invalid: #database, e.g. # server serverid "server description" { # # Required parameters: # fqdn fully qualified domain name # multivalue # bind ip:port # singlevalue. If you specify "virtual" instead of a ip:port # combination the server will run as a virtual domain on the same # IP as the main (default) server. # bindssl # singlevalue # # http, https # singlevalue, can be yes, true, etc. is equivalent to: # bind 0.0.0.0:80 and 0.0.0.0:443 respectively. # # # Optional values: # config file # singlevalue, configuration file for this server. # can be omitted if a file serverid.tcl exists # standard configuration is however already provided without these # # config_cgi file # singlevalue, adicional cgi-parameters to user for this server # can be omited if a file serverid.cgi exists # a standard set of cgi configuration is already provided by the # default server configuration # # config_db file # singlevalue, only makes sense if database is specified # configuration file for the database, can be omitted if # serverid.db exists. # a standard database configuration is however already provided # without these # config_ssl file # # root directory # serverrot, default /var/www # # pageroot directory # relative to serverroot, unless it starts with / # defaults to servername, to organize virtual domains beneath # /var/www # # tcllib # relative to serverroot, unless it starts with /, default: "tcl" # # directoryproc name # tcl procedure to list a directory if no directoryindex file exists # default _ns_dirlist # directorylisting style # style of directorylisting: simple or fancy with _ns_dirlist # default, fancy (with file sizes and dates) # # stack # per thread stacksize in kByte, defaults to 128, dotLRN needs 512 # # modules # list of modules to load. default: # nslog nssha1 nscache nsdb nsopenssl nscgi nssock # don't specify database driver modules here. # # # tDAV Configuration # Note: experimental, you have to copy the provided tDAV.tcl file into # the main or servers tcllib directory. nsperms configuration is # also required. This means: set up # /usr/aolserver4/servers//modules/nsperm/* # # Multiple "shares" can be specified, each has to begin with "share name", where the name # is a unique identifier (in this server). # # Required: # dav_share name # dav_uri uri # uri for which DAV access is allowd # dav_description "text" # a descriptive text for this share # # Almost required: # # dav_users "users" # space separated list of user allowed to access # dav_groups "groups" # space separated list of groups allowed to access # # See nsperms for how to specify users, groups and give them passwords. # # Opcional: # # dav_options "OPTIONS COPY GET PUT POST HEAD MKCOL PROPFIND PROPPATCH" # Allowed http methos ("options") # if this is not used, al DAV options are allowed. the example shows # the minimal required options. # # Example: # dav_share pageroot # dav_uri /dav* # dav_description "The whole website" # # dav_users "jorge lymontoya" # # # # Database specification # database type # multivalue, not implemented, # type: modulname without "ns" prefix # dbname name # required if database is used # dbhost host # if empty, local connection is assume, required for oracle # dbuser name # if empty, dbname is asumed # dbpass # required if database is oracle # # ldapPools # required, default "*" # # ldapDefaultPool # require, default "ldap" # # LDAP: nsldap module # Note: untested. # each ldap pool has its own stanza # example: # # ldap ldap { # user "cn=admin,ou=Your Organisation" # password "changeme" # host "localhost" # connections 1 # verbose false # } # # default values: # connections 1 # verbose false # # everything else is required.