iTP Secure WebServer System Administrator's Guide (Version 7.0)
Configuring the iTP Secure WebServer
iTP Secure WebServer System Administrator’s Guide—523346-012
7-18
Using Guardian Files
•
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.
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 or /E 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.
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.