Each host must be defined in the "Domains" section of the global parameters file. For each host you may specify an overriding values for the URL Aliasing (the default being the value supplied by Goserv Dir() function), and values for the Redirection List, SIBO Object list, and Authorisation Realms. Each host may also have a list of virtual hosts supported.
The format of a Domain entry for a host is:
Where IP address is the dotted decimal address of the interface, e.g 194.70.219.9, The localname is the name used for that host's global data values within the globals file, and domain name is the [optional] internet host and domain name for the interface. If domain name is not specified, then the name returned bt GetHostByName will be used. This allows you to specify an (registered) alias name for use by the Redirection functions in the filter.
The specific global values for each host are specified in their relevant sections for the named localhost. e.g. the Domain entry "194.70.219.66,test,test.ip7.co.uk" would have sections in the globals file identified by:
Thus each host has its own unique definitions all within a single file.
Each host identified in the Domains section may have its own base directory path, replacing the Goserve defined dir() function for that host. This is defined in the Home_localname section for that host. The path must have a trailing "/" to be consistent with the value returned by the Goserve dir() function. If Home is not specified, then the path defaults to the Goserve provided value.