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

Configuration Directives
iTP Secure WebServer System Administrator’s Guide523346-012
A-54
Region Commands
By default, SSIs are fully disabled.
To use EnableIncludes in a Region directive, enter the following:
Region * {{
EnableIncludes -restricted 1 -nesting 1
}
EncodingType code-type extension-list
The EncodingType command specifies the identifier of the encoding type
(code-type) to be returned to a Web client requesting a file whose extension
matches an extension listed in extension-list. The returned encoding type
identifies to the Web client the kind of decoding it must perform on the file content
before it can be viewed by the user. This decoding is usually a form of
decompression.
The items in extension-list are separated by blank spaces.
The EncodingType command overrides for specified regions any global
specifications set for the same items by the EncodingType directive. For further
information about using the EncodingType directive, see EncodingType on
page A-19.
Filemap [-symlink-disable] [-symlink-owner] prefix path
The Filemap command maps URLs to specific directories or files on the host
machine. For URLs having a path component beginning with prefix, the iTP
Secure WebServer translates the URL path into a new path name specified by
path. the iTP Secure WebServer composes this new path name by appending to
path the URL component following prefix.
The options include
-symlink-disable
This option disables symbolic links to files in the specified directory. As a result,
the iTP Secure WebServer returns “not found” in response to any attempt to
access a path that contains a symbolic link.
-symlink-owner
This option is similar in function to the -symlink-disable option: It also disables
symbolic links, but only if these symbolic links are owned by someone other
than the owner of the files to which the symbolic links point.
The Filemap command overrides for specified regions any global specifications
set for the same items by the Filemap directive. For further information about
using the Filemap directive, see Filemap on page A-21.