iTP Secure WebServer System Administrators Guide (Version 7.5+)
E Tool Command Language (Tcl) Basics
This section describes the basic Tcl concepts and language elements you must know to write iTP
Secure WebServer configuration scripts.
iTP Secure WebServer configuration scripts are written in theTool Command Language (Tcl). It is
important to note that any new directives you specify in the server configuration file do not take
effect until the server is restarted. (See “Managing the iTP Secure WebServer Using Scripts”
(page 82).)
You configure the iTP Secure WebServer to your particular requirements by creating a configuration
script. This script contains a series of directives expressed in the syntax of Tcl commands. The script
sources in other files that you can customize to describe the configurations of optional features like
secure transport and Java servlet support. For information about the nature and locations of all the
configuration scripts, see “Configuring the iTP Secure WebServer” (page 94).
Although Tcl is a complete programming language, the subset of Tcl commands and features
described in this section is likely to be sufficient for most needs. Should you require additional Tcl
commands and features, you might want to refer to a Tcl resource (See “Bibliography” (page 285)).
To write a iTP Secure WebServer configuration script in Tcl, you must understand basic elements
or concepts in each of these areas:
• “Tcl Syntax Rules” (page 277)
• “Tcl Commands” (page 277)
• “Script Commands” (page 279)
276 Tool Command Language (Tcl) Basics










