iTP Secure WebServer System Administrator's Guide (Version 7.0)
Configuration Directives
iTP Secure WebServer System Administrator’s Guide—523346-012
A-3
Description
Description
Use the Accept directive to configure the iTP Secure WebServer (server-name in
the example) to accept HTTP connections on one or more specified transports and
ports.
The Accept directive takes the following arguments:
-transport transport-name
The transport name (transport-name) is a TCP/IP process name in OSS format
(that is, preceded by /G/).
One transport-name is required.
-address server-addr
Use the -address argument to configure the server to accept connections on a
specified address (server-addr). The address you specify can be either a
numeric IP address or a valid name or alias registered with the Domain Name
Service (DNS). If no -address argument is specified, the iTP Secure WebServer
accepts connections on all IP addresses currently valid for the iTP Secure
WebServer machine.
The following examples configure the httpd process to receive messages on any
address associated with the process $ZTC0, to use a specified IPv4 or IPv6
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/ZTC1 -address fe80::ffff:abcd:1
-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.