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

Using the Resource Locator Service (RLS)
iTP Secure WebServer System Administrator’s Guide522659-001
10-2
Configuring the Resource Locator Service (RLS)
Configuring the Resource Locator Service (RLS)
This section describes configuring RLS, including the following tasks:
Defining the Server Class (See below)
Creating the Database (See page 10-3)
Modifying the Database (See page 10-5)
Defining the Server Class
The RLS server class is called rmt.pway. As shown in Example 10-1, the httpd.config
file provided with the iTP Secure WebServer defines the RLS server class as follows:
The first line in the configuration (starting set...) defines the Tcl variable rmt to point
to the RLS object file. Subsequent references to this variable begin with a dollar sign
($).
The next line (starting if...) checks to see whether the object file is present in the root
directory of the iTP Secure WebServer environment; the object file is present if you
built and installed it as described in Building and Installing the Resource Locator
Service (RLS) on page 10-6. If the object file is not present, the RLS server class is not
created.
WARNING. RLS does not verify that the servers you define can actually provide access to the
same content and services. You (or your web-site administrator) must ensure that each
replicated server has the same or similar features and configuration.
Example 10-1. RLS Server Class Definition
###############################################################
# Configure Resource Locator attributes
#
set rmt /bin/rmt/rmt.pway
if { [file exists $root$rmt]} {
Filemap $rmt $root$rmt
Server $root$rmt {
CWD $root/bin/rmt
eval $DefaultServerAttributes
Env PASSTHROUGH_CONTENT_LENGTH 50000
}
RmtServer $rmt
}