A host record contains information about a host, its status and its owner.
Fields of a host record
The id of the host record.
The base URL of the Midgard host. This should contain only the host part of the URL. To serve pages for http://www.midgard-project.org/manual/ the name must be set to www.midgard-project.org.
The page-id of the rootpage for the host.
The style-id of the default style for the host.
If this field is set to 'auth', the authentication is required to access the host.
The group-id of the owner of the host record.
The port this host will listen at. If set to 0 then the host will react to any port.
If set to zero, Midgard will not serve pages for this host. If set to one, Migard will serve pages for this host.
The path part of the Midgard host. If the host should serve pages for http://www.midgard-project.org/manual/, prefix should be test to /manual.
The id of the sitegroup the host belongs to.