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

Configuring the iTP Secure WebServer
iTP Secure WebServer System Administrator’s Guide523346-012
7-56
Setting Up a Server-Side Include (SSI)
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 includes.
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 Table 8-1, Environment Variables, on
page 8-11), the variables listed in Table 11-2, Region Directive Variables for
Anonymous Sessions, on page 11-16 are made available to parsed documents.
Table 7-3. SSI Environment Variables
SSI Variable Description
DOCUMENT_NAME The current file name.
DOCUMENT_URI The virtual path to this document (such as
/docs/tutorials/foo.shtml).
QUERY_STRING_UNESCAPED The unescaped version of any search query the Web
client sent with all shell-special characters escaped
with.
DATE_LOCAL The current date, local time zone. Subject to the
timefmt parameter of the config command.
DATE_GMT Same as DATE_LOCAL but in Greenwich Mean Time
(GMT).
LAST_MODIFIED The last modification date of the current document.
Subject to timefmt.