iTP Secure WebServer System Administrators Guide (Version 7.5+)

Default
DNSCacheSize 1000
Example
DNSCacheSize 2000
DNSExpiration
Syntax
DNSExpiration life-secs
Description
You set the DNSExpiration directive to the maximum number of seconds (life-secs) that any
entry can remain in the server DNS cache.
Each entry in the server DNS cache is assigned an expiration time in seconds, to be measured
from the time the entry is created. The maximum for this expiration time is set by the
DNSExpiration directive. An entry can have a shorter expiration time if the time-to-live value
assigned to it by a DNS server is smaller than the value set by the DNSExpiration directive.
Only one DNSExpiration directive is allowed in the configuration file.
Default
DNSExpiration 21600
which assigns six hours, measured in seconds
Example
DNSExpiration 24000
EncodingType
Syntax
EncodingType code-type extension-list
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.
210 Configuration Directives