iTP Secure WebServer System Administrator's Guide (iTPWebSvr 6.0+)
Configuration Directives
iTP Secure WebServer System Administrator’s Guide—523346-002
A-14
Default
Multiple Browser directives are allowed in the server configuration file (httpd.config);
these directives may have agent patterns that overlap. For example:
Browser "*NCSA*" -redirectlimit 128
Browser "*NCSA Mosaic*" -redirectlimit 256
When the contents of User-Agent: matches more than one agent pattern, the server
uses the Browser directive corresponding to the longest matching pattern. For
example, if User-Agent: contains the string NCSA Web Browser, the server uses the
first Browser directive above (with a redirect limit of 128); whereas if User-Agent:
contains the string NCSA Mosaic, the server uses the second Browser directive
above (with a redirect limit of 256).
The server uses the information provided by the Browser directive to modify the
HTTP redirect operation such that the web client operates correctly. If a redirect URL is
shorter than the redirect limit supported by the matched browser, the server returns an
HTTP redirect result directing the web client to the new location. If the redirect URL is
longer than the limit supported by the matched browser, the server returns a page
containing a link the user can select to go to the new location. This link page can be
customized (as described in Message on page A-28).
For more information about redirect operations, see the description of the Redirect
command in Region on page A-39.
Default
If no Browser directives are specified, the server assumes there is no limit on the URL
length for redirect operations.
Example
Browser "*WebRover V1.0*" -redirectlimit 1024
CacheTime
Syntax
CacheTime minutes
Description
Use the CacheTime directive to specify the number of minutes that the iTP Secure
WebServer is to cache files that it opens. When this directive is present in the
configuration file, files accessed by the iTP Secure WebServer stay open for the period
specified in the CacheTime directive.
CacheTime accepts a value from 0 to 600 in minutes (10 hours). Specifying a value of
0 in the CacheTime directive disables file caching.