Default Site
site=
On a server with only one site defined, this parameter serves no purpose. When there is more than one site defined, this parameter defines the default site to display if the URL the user goes to doesn't specify a site.
For instance, if the user specifies the URL: "/cgi-bin/lyris.pl?site=yourcompany", then the site named "yourcompany" will be displayed. If no site is given on the URL, as in "/cgi-bin/lyris.pl", then the site named in this parameter will be displayed.
If you leave the site= setting blank, then the web interface will display the first site (in order of date the site was created) that it can find.
default_site=(hostname):(site)
You can also define the default site based on the host name of the web interface URL. You can specify this setting multiple times for multiple hostname-site configurations. For example:
default_site=server1.somedomain.com:site1
default_site=server2.somedomain.com:site2
This setting isn't required very often because there is an automatic mechanism for determining the site based on the host name. However, some servers have multiple sites under one host name. In this case, some method of distinguishing which is the default site is required.
![]() |