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

Configuration Directives
iTP Secure WebServer System Administrator’s Guide523346-012
A-58
Region Commands
The OutputTimeout command overrides for specified regions the global
specification set by the OutputTimeout directive. For further information about
using the OutputTimeout directive, see OutputTimeout on page A-41.
Priority priority-increment
The Priority command forces CGI programs to run at a lower process priority.
The higher the value of priority-increment (0 to 20), the lower the priority. If
the Priority command is not set, or if it is set to 0, the affected CGI programs
run at the same priority as the iTP Secure WebServer.
For example, the following command forces all CGI programs (*.cgi) to run at the
lowest possible priority:
Region *.cgi* {
Priority 20
}
PutScript CGI-script-filename
The PutScript command indicates that the server will handle PUT requests, and
it specifies the location of the script that authenticates the client and performs any
other necessary validation functions.
The PutScript command overrides for specified regions any global
specifications set for the same items by the PutScript directive. For further
information about the PutScript directive, see PutScript on page A-47.
Redirect [status] [-replace /replace-spec] target-url
The Redirect command tells the server to return the specified URL
(target-url) for the requested object. For example, if you moved HTML
document /info/stats.html to /statsinfo.html at a different host
machine, you could use the following Redirect command to redirect all requests
for this document:
Region /info/stats.html {
Redirect http://www.widgets.com/statsinfo.html
}
The status variable indicates whether the specified redirection is temporary or
permanent. Accordingly, the value can be either temporary or permanent. When a
request is satisfied by redirection, the server returns a status code of 301 to the
client if the requested file was moved permanently, or a status code of 302 if the
requested file was moved temporarily. If you omit this variable from the command,
the server behaves as if the redirect were temporary, returning a status code of
302.
The -replace argument allows you to redirect requests for an entire directory.
When you specify this argument, the URL element specified by /replace-spec
is removed from the front of the requested URL. Then the remainder of the
requested URL is appended to the target URL.