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

Configuring the iTP Secure WebServer
iTP Secure WebServer System Administrators Guide522659-001
7-41
Implementing Multiple-Host Support
In either case, you need to run separate instances of the iTP Secure WebServer, each of
which is completely independent of the other: each has its own installation directory
with configuration file, log files, and content areas specific to that individual server.
Using Different Ports
The easiest way to configure multiple installations of the iTP Secure WebServer on the
same host machine is to assign each server to a different port on which to make
connections with clients. To assign a particular server to a port, specify the
Accept
directive with the -port option in that server’s configuration file.
For example, if you are configuring two servers on a host machine named
www.widgets.com, you can assign one server to port 80 (the default port) and the
other to port 8000 using the -port option of the Accept directive:
Accept -transport /G/ZTC0 -port 80
Accept -transport /G/ZTC0 -port 8000
Clients would access these servers through the following URLs:
http://www.widgets.com/
http://www.widgets.com:8000/
The URL for the first server does not require a port number, because this server has been
assigned to the default (80). For further details about the Accept directive, see Accept
on page A-2.
Using Different IP Addresses
Another way to configure multiple servers to run on the same host machine is to assign
each server to a different IP address. Normally, an individual server on a host checks for
connections on every local IP address. However, you can run multiple servers on the
same machine such that each server checks for connections on a different IP address, as
described in Establishing Alias IP Addresses
. Implement this behavior by establishing
the IP addresses needed and specifying a different Accept directive using the -address
option in each iTP Secure WebServer configuration file.
Establishing Alias IP Addresses
NonStop TCP/IP lets you define alias IP addresses (sometimes also called virtual IP
addresses). For brief instructions about how to define such addresses, see SCF TCP/IP
Configuration on page A-9. For detailed information about this and other topics related
to TCP/IP configuration on Compaq NonStop systems, see the Tandem NonStop TCP/IP
Configuration and Management Manual and the SCF Reference Manual for Tandem
NonStop TCP/IP.
Assigning Servers to Specific IP Addresses
You can limit a server to accept connections on only one IP address and assign each of
multiple servers running on the same host to a different IP address.
You assign a server to a specific IP address by specifying an
Accept directive with the
-address option in the server configuration file (httpd.config).