NonStop Servlets for JavaServer Pages (NSJSP) 6.1 System Administrator's Guide

Configuring NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) 6.1 System Administrator’s Guide—596210-006
3-33
The filemaps.config File
Filemaps
The Filemap directives at the end of the nsjspadmin.config file indicate that all
requests to both the admin and the old manager are also directed to the admin
server class.
The filemaps.config File
The Filemap directive is defined by iTP Secure WebServer and is described in detail
in the iTP Secure WebServer System Administrator's guide. This section describes
information about the filemaps.config file that is specific to NSJSP.
Table 3-7 provides an overview of the filemaps.config file.
Example 3-39 shows the default filemaps.config file.
Example 3-40
shows the installation-specific servlet.config file checking for the
presence of the filemaps.config file and sourcing the filemaps.config file, if
available.
Note. The manager application mentioned here is different from the new NSJSP
Manager. For more information on the manager applications, see Chapter 4,
Managing NSJSP.
Table 3-7. Overview of the filemaps.config File
Location <NSJSP_HOME>/conf
Description This file is sourced in by the servlet.config file using the source
directive.
Example 3-39. The filemaps.config File
#This file should contain all the NSJSP specfic filemaps
#The file will be read by the NSJSP SERVLET and NSJSPADMIN instances
#By default filemaps for manager and admin applications are
#mentioned in ITPWS/conf/nsjspadmin.config.
#Any changes to the default filemap definitions should be made
#in this file. If changes are made then the default definitions
#in nsjspadmin.config should be removed.
Example 3-40. Checking for the presence of the filemaps.config file and
sourcing the filemaps.config file in the servlet.config file
#################################################################
#
# Do an existence check on the filemaps configuration
# file (filemaps.config). If it exists, source it in.
#
if { [file exists $env(NSJSP_HOME)/conf/filemaps.config] } {
source $env(NSJSP_HOME)/conf/filemaps.config
}