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-3
Creating the Database
The Filemap directive maps the URL of the object file to the correct location in the
OSS file system.
The Server directive defines the server class and its default server attributes. You can
override any default attribute by defining it explicitly. Maxservers must at least equal the
number of processes in the httpd server class. Linkdepth and Maxlinks must each have a
value of 1 because each RLS process is single-threaded.
The PASSTHROUGH_CONTENT_LENGTH variable specifies the maximum length of
content that RLS will fetch from a remote server and send to the web client. If the length
of the requested content exceeds the value of this variable, RLS does not fetch the
content but sends the web client a redirect packet identifying the remote server. The
value can range from 0 to 2147483647 bytes; the default and recommended value is
32000 bytes. If you specify a value less than zero, RLS regards the value to be 0 and
sends a redirect packet in all cases. If you specify a value greater than 2147483647, RLS
uses the value 2147483647.
The RmtServer directive specifies the URL pathname of RLS in relation to the root
directory of the iTP Secure WebServer.
AUTOMATIC_FORM_DECODING will always be off for the server class, even if you
specify a value of ON in your configuration file.
The web client will display a server error if you replace rmt.pway with your own
application or if you installed rmt.pway incorrectly.
Creating the Database
You customize the RLS database to specify which web servers RLS should use
interchangeably. Replicated servers have a common root directory reflected in the
database.
To customize the database, you edit the file dbload.sqlci in the /bin/rmt
directory. When you run the make utility to build RLS, the data in dbload is loaded
into a table called DBACCESS.
The table has at least one row for each web server RLS can contact. Each row includes
the following columns:
Filename
Ip_addr
Port
Tcpip
No_Servers
Relative_ID
Note. If you change the value of PASSTHROUGH_CONTENT_LENGTH, you must recreate the
database and restart the rmt server class as described in Modifying the Database on
page 10-5.