iTP Secure WebServer System Administrators Guide (Version 7.5+)
/G/vol/subvol/file
as text.
• If a URL refers to a Pathway-CGI application and includes an extension, the iTP Secure
WebServer directs the request to the server class specified in the PathwayMimeMap directive
for the extension. For example:
/G/vol/subvol/serverclassname.pway
invokes the server class serverclassname in the local iTP Secure WebServer environment,
unless the configuration contains a PathwayMimeMap directive that assigns the extension
.pway to another server class or PATHMON environment.
• If a URL refers to a Pathway-CGI application and does not include an extension, the iTP Secure
WebServer opens the file using the default type for the region, as specified by the
DefaultType configuration directive or Region command. If the default type for the region
is application/x-httpd-Guardian, the extension is .pway by default.
NOTE: If this feature does not seem to work as you expect, check your configuration file to
check that the DefaultType command for the region specifies application/x-httpd-Guardian.
Examples:
◦ The URL
/G/vol/subvol/file
opens the file
/G/vol/subvol/file
as the default type for the region, as specified by the DefaultType configuration
directive or Region command.
◦ /G/vol/subvol/serverclassname
is treated as if it had a .pway extension. It invokes the server class serverclassname
in the local iTP Secure WebServer environment, unless the configuration contains a
PathwayMimeMap directive that assigns the extension .pway to another server class or
PATHMON environment.
• If a Pathway-CGI application is in the /G namespace and the argv[0] argument passed to
the application contains a URL with an extension, the iTP Secure WebServer removes the
extension from the argument string but preserves the extension in CGI environment variables
such as SCRIPT_NAME and HTTP_REFERRER.
For example, for the application:
/G/vol/subvol/echo.atp
the argv[0] string becomes
/G/vol/subvol/echo
but SCRIPT_NAME includes the URL used for access to the application, including any extension,
that is /filemap/ echo.atp.
Controlling File Caching
To improve performance, the iTP Secure WebServer caches files it accesses. When a file is cached,
it is held open for 15 minutes, eliminating the need to open the file again during that time. While
the file is open, no maintenance can be performed on it nor can it be moved to a different directory.
In addition to file opens, file information (retrieved by calling fstat) and actual file content can
also be cached.
Controlling File Caching 105










