Web Server: Global


Global (server-wide) configuration values can be setup for MiniPortal. These configuration values will apply to all domains unless specifically overridden by domain-specific configuration values.

Port

Port specifies the network port used to access the web server. The web server listens only on this network port for HTTP requests.

80 is the default Port. If this is used, URLs accessing the domain do not need to specify a port number. If any other value is used, it must be specified in the URL (e.g. http://domain:81, if Port is set to 81). Port numbers from 80 to 65536 may be selected, but certain values may not be available if used by other servers.

Note: the Port should generally not need to be changed. However, if Port 80 is blocked (e.g. by an ISP) or Port 80 is used by another web server, a different Port may be specified. Further, if a port other than 80 is chosen, a URL redirection service may be used to allow access to the web server without requiring the Port to be entered in the URL. A redirection service can redirect URLs that do not specify a Port to URLs which require a port (e.g. http://domain/ can be redirected to http://www2.domain:81/). In this case, the Domain Alias *.domain (or www2.domain) must also be configured for the domain to allow the redirection to operate.

Directory Listing

Directory Listing specifies what to do if a directory is accessed but none of the Default File(s) are found. Directory access will happen, e.g., if the domain name is entered as the URL.

If Directory Listing is enabled, the contents of the directory will be displayed. If Directory Listing is not enabled, a 'Forbidden' page will be displayed, preventing the contents of the directory from being determined by visitors.

Default File(s)

Default File(s) specifies the file (or files) that are opened by default when a directory is accessed. If more than one file is specified, file names must each be separated by a space.

Example: if the files index.html and index.htm are specified, then accessing http://127.0.0.1/ will open the Document Directory for the domain 'localhost' and try to access index.html. If this file is found, it will be displayed. If it is not found, the server will try to access index.htm and so on.