iTP Secure WebServer System Administrators Guide (Version 7.5+)

Region/test {Filemap/ test $root/cgiscripts
DirectoryIndex
EnableIncludes - restricted}
then, the cgi script at
/usr/tandem/webserver/cgiscripts/test.cgi
will be executed.
The server does not perform error checking to check that the specified generated
HTML output is valid; therefore, you should use this tag with caution.
Disable SSI exec usage on uncontrolled regions. The iTP Secure WebServer does
not support automatic handling of Location: headers.
Pathway CGI applications, including servlets, cannot use server-side pincludes.
fsize
prints the size of a particular file. The tags accepted by the fsize command are
the same as for the include command. The results are formatted in regards to the
sizefmt argument used in the config command. For example:
<!--#fsize virtual="/include/size_zero"-->
flastmod
prints the last modification date of a particular file, using a format determined by
the timefmt argument to config. The tags accepted by the flastmod command are
the same as for the include command. For example:
<!--#flastmod file="/home/tom/open_issues"-->
SSI Environment Variables
In addition to the CGI variable set (see “Environment Variables” (page 146)), the variables listed
in “Region Directive Variables for Anonymous Sessions” (page 180) are made available to parsed
documents.
Table 13 SSI Environment Variables
DescriptionSSI Variable
The current file name.DOCUMENT_NAME
The virtual path to this document (such as
/docs/tutorials/foo.shtml).
DOCUMENT_URI
The unescaped version of any search query the Web client
sent with all shell-special characters escaped with.
QUERY_STRING_UNESCAPED
The current date, local time zone. Subject to the timefmt
parameter of the config command.
DATE_LOCAL
Same as DATE_LOCAL but in Greenwich Mean Time
(GMT).
DATE_GMT
The last modification date of the current document. Subject
to timefmt.
LAST_MODIFIED
Evaluating Performance
iTP Secure WebServer provides environment variables that can be used for evaluating the
performance of the http daemon with respect to time:
TANDEM_PWAY_ALERT_TIME
TANDEM_REQUEST_ALERT_TIME
TANDEM_SOCK_ALERT_TIME
Setting Up Clickable Images 133