iTP Secure WebServer System Administrator's Guide (iTPWebSvr 6.0+)

Configuration Directives
iTP Secure WebServer System Administrator’s Guide—523346-002
A-17
Description
Description
Use the EncodingType directive to specify 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 the web client must perform on the file content before
the content can be viewed by the user. This decoding is usually a form of
uncompression.
The items in extension-list are separated by blank spaces.
For example, if the server configuration file (httpd.config) contains the directive
EncodingType x-zip-compress Z
any URL that refers to a file that has .Z extension causes the server to return a
content encoding type of x-zip-compress with the requested file.
If the requested file is index.html.Z, the server returns a content encoding of
x-zip-compress and a MIME type of text/html.
The two most-common compression types used in EncodingType directives are
x-gzip and x-zip-compress. These two encoding types are specified in the
conf/mime-types.config file supplied with your server.
Default
None. If no EncodingType directive is set for a requested file, the server does not
send a Content Encoding line with the requested file.
Example
EncodingType x-gzip gz
ErrorLog
Syntax
ErrorLog filename
Description
You set the ErrorLog directive to the pathname of the server error log file. This log
file records information about access and server errors, structuring this information in a
format commonly used by other web server software. For further information about this
format, see Appendix C, Server Log File Formats. For information about recording
error information in a different format, see ExtendedLog on page A-18.
Only one ErrorLog directive is allowed in the configuration file.