server task virtualhost add

Adds an additional installed WebSEAL server or server instance to an existing virtual host junction.

Requires authentication (administrator ID and password) to use.

server task instance-webseald-host virtualhost add -h host_name [options] vhost_label

Options

This option is used for junctions that were created with the type of tcpproxy or sslproxy.

-i
That the WebSEAL server does not treat URLs as case-sensitive.

This option is used for junctions that were created with the type of tcp or ssl.

-p port
Specifies the TCP port of the server. Default is 80 for TCP junctions and 443 for SSL junctions. This option is used for junctions that were created with the type of tcp or ssl.

-P port
Specifies the TCP port of the proxy server. The default value is 7138.

For port, use any valid port number. A valid port number is any positive number allowed by TCP/IP and that is not currently being used by another application. Use the default port number value, or use a port number that is greater than 1000 that is not being used.

This option is used for junctions that were created with the type of tcpproxy or sslproxy.

-q path
Relative path for the query_contents script. By default, Security Verify Access looks for this script in the /cgi_bin subdirectory. If this directory is different or the query_contents file is renamed, use this option to indicate to WebSEAL the new URL to the file. Required for Windows virtual hosts.

Valid for all junction types except localtcp and localssl.

-u uuid
UUID of this server when connected to WebSEAL over a stateful junction that was using the -s option. This option is used for junctions that were created with the type of tcp or ssl.

-w
Indicates Microsoft Windows 32 bit (Win32) file system support.

This option is used for junctions that were created with the type of tcp or ssl.

vhost_label
Label name of the virtual host junction.

Authorization

Users and groups that require access to this command must be given the c (control) permission in the ACL that governs the /WebSEAL/host_name-instance_name/@vhost_label object. For example, the sec_master administrative user is given this permission by default.

Return codes

This command is available only when WebSEAL is installed.

Example

The following example adds a server with host name xyz.ibm.com to an existing virtual host junction with the label support-vhost-http, on the WebSEAL server abc.ibm.com:
pdadmin> server task default-webseald-abc.ibm.com virtualhost add \
-h xyz.ibm.com support-vhost-http

See also

server task virtualhost create
server task virtualhost delete
server task virtualhost list
server task virtualhost remove
server task virtualhost show

Parent topic: pdadmin commands