iTP Secure WebServer System Administrator's Guide (Version 7.0)

Configuring the iTP Secure WebServer
iTP Secure WebServer System Administrator’s Guide523346-012
7-17
Using Guardian Files
Requests to user directories are differentiated from normal requests by the use of a
tilde (~) prefixed to the path component of the URL. Any path beginning with a tilde is
automatically mapped to the appropriate user directory.
For example, if the directive
UserDir public_html
is specified in a servers configuration file, the URL
http://www.widgets.com/~black/home.html
will be mapped to public_html/home.html in the user directory black.
If a referenced user account or user-dir does not exist on the host machine, the server
will return a “not found” result. If no UserDir directive is specified in the configuration
file, the server will return a “not found” result for any attempt to access a URL prefixed
with a tilde.
Using Guardian Files
Although content in the iTP Secure WebServer environment traditionally resides in the
OSS namespace, you can also use URLs to see Guardian files. Guardian files do not
have file extensions, but you can specify extensions when referring to those files.
When using Guardian files, the following rules apply:
If a URL in the namespace /G or /E includes an extension, the iTP Secure
WebServer omits the extension when opening the file, but opens the file using the
correct MIME type for the extension.
Examples:
°
The URL
/G/vol/subvol/file.html
opens the file
/G/vol/subvol/file
as html.
°
The URL
/G/vol/subvol/file.txt
opens the file
/G/vol/subvol/file
as text.