iTP Secure WebServer System Administrators Guide (Version 7.5+)

Table 8 Sample httpd.stl.config File (continued)
}
}
}
Other Configuration Files
Information about the configuration file required to use the Servlet Server Class (SSC) is in NonStop
Servlets for JavaServer Pages (NSJSP) System Administrator's Guide.
Managing Server Contents
This subsection describes how to manage the contents of your server including:
“Understanding How URLs Work” (page 99)
“Mapping Requests to Contents” (page 99)
“Establishing User Directories” (page 104)
“Using Guardian Files” (page 104)
Understanding How URLs Work
Objects on your iTP Secure WebServer are accessed by means of Universal Resource Locators (
URLs). A URL is composed of these five elements:
DescriptionURL ComponentNo.
The transport method to be used to access the server. For example: http.Method1
The name of the host machine.Host2
The port on the host to which the request is to be directed. If no port
number is specified, the default port for the particular method is assumed
(for example: port 80 for HTTP).
Port3
The path name of an object (document, image, file, and so on.) on the
server.
Path4
Additional query information (optional).Query String5
A Web client uses the first three components of a URL (method, host, and port) to access the correct
server. It uses the path component to tell the server which specific object is being requested. “Sample
URL” (page 99) shows a sample URL.
Table 9 Sample URL
1 2 3 4 5
http://www.widgets.com:8080/finance/home.cgi?money
This URL directs its request to an HTTP server running on host www.widgets.com and checking for
requests on port 8080. The object being requested is a Common Gateway Interface (CGI) program
(home.cgi) located in directory /finance. The query string is money. CGI programs are discussed
in detail in “Using Common Gateway Interface (CGI) Programs” (page 138).
Mapping Requests to Contents
To make the contents on your server available to clients, you must map the object information in
URLs to the actual location of these objects on your server. To implement this mapping, you specify
one or moreFilemap directives in your server configuration file (httpd.config).
Each Filemap directive has two arguments:
Managing Server Contents 99