iTP Secure WebServer System Administrator's Guide (iTPWebSvr 6.0+)
Using the Resource Locator Service (RLS)
iTP Secure WebServer System Administrator’s Guide—523346-002
10-2
Configuring the Resource Locator Service (RLS)
7. RLS stores response-time information from the server for use in subsequent
decision-making.
Configuring the Resource Locator Service
(RLS)
This section describes configuring RLS, including the following tasks:
•
Defining the Server Class on page 10-2
•
Creating the Database on page 10-3
•
Modifying the Database on 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
Caution. 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
}