iTP Secure WebServer System Administrator's Guide (iTPWebSvr 5.1+)
Configuring the iTP Secure WebServer
iTP Secure WebServer System Administrator’s Guide—522659-001
7-53
Setting Up a Server-Side Include (SSI)
fsize
The fsize command 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
The flastmod command 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-15 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.