iTP Secure WebServer System Administrator's Guide (iTPWebSvr 5.1+)

Configuration Directives
iTP Secure WebServer System Administrator’s Guide—522659-001
A-3
Accept
The following examples configure the httpd process to receive messages on any
address associated with the process $ZTC0, to use a specified address with the
process $ZTC1, and to use the IP address bound to the DNS name www.goblet.com
with the process $ZTC2:
-transport /G/ZTC0
-transport /G/ZTC1 -address 120.1.2.13
-transport /G/ZTC2 -address www.goblet.com
If server-addr is not an IP address associated with the TCP/IP process name in
the TCP/IP configuration, an error is reported during httpd process startup. The error
message reports that the server cannot bind to the combination of TCP/IP process
name, IP address, and port (as specified in the -port argument).
If
server-addr is specified in DNS format, an attempt is made to bind to each IP
address to which the DNS name maps. Bindings that fail because the address is not
available are ignored. All successful binds are kept. If no binds are successful, an
error is reported and the httpd process does not start.
For the DNS format to be used, the address-resolved file
$SYSTEM.ZTCPIP.RESCONF must be set up and contain the correct IP addresses
for the name servers, which are entities defined by DNS.
-name server-name
Use the -name argument to specify the name used to refer to the server. The iTP
Secure WebServer uses this name whenever it needs to generate a URL that
refer to itself, such as for redirects.
The name you specify must be a valid name or alias registered with the DNS. For
more information about setting up an alias, consult your system or network manager.
If no -name argument is specified, the iTP Secure WebServer uses the server
address (server-addr) if -address is specified. Otherwise, the iTP Secure
WebServer uses the host name of the machine on which it is running.
-port port-num
Use the -port argument to configure the server to check for connections on a
specified port (port-num).
The standard port number for HTTP connections is 80. If you choose another port,
check the $SYSTEM.ZTCPIP.SERVICES file to ensure that this port has not already
been allocated to another service.
If you choose any port number less than 1024, you need to be root (superuser) to
start the iTP Secure WebServer. If no -port argument is specified, 80 is used.
You can specify any number of Accept directives in the iTP Secure WebServer
configuration file. Omit the Accept directive if you plan to use only secure transport.