last-modified
replaces the current last modified header value if it is later.
You can use the cgi directive to specify the URLof a virtual path to a CGI
program.
Example 1:
<!--#exec cgi="/cgi-bin/program/path_info?query_string" -->
Example 2:
<!--#exec cgi="&path;&cgiprog;&pathinfo;&querystring;" -->
This example shows the use of variables.
You can use the flastmod directive to display the last time and date the document
changed. The config timefmt directive defines the formatting of this variable. The
file and virtual tags can be used with this directive, and the meaning is the same
as it is for the include directive.
Directive Formats:
<!--#flastmod file="/path/file" -->
<!--#flastmod virtual="/path/file" -->
Example:
<!--#flastmod file="FOO" extra text -->
Result: 12May96 <!This is extra text >
Use the fsize directive to display the size of the specified file. The formatting of
this variable is defined using the config sizefmt directive. You can use the file and
virtual tags with this directive, and the meaning is the same as it is for the include
directive.
Examples:
<!--#fsize file="/path/file" -->
<!==#fsize virtual="/path/file" -->
Result: 1K
Use the global directive to define global variables that are echoed by this file, or
any included files.
Example:
<!--#global var=VariableName value="Some Value" -->
If you want to refer to a parent document across the virtualboundary,you need
to set a global variable DOCUMENT_URI. You must also refer to the global
variable in the child document. The following is an example of the HTML coding
you need to insert in the parent document:
Example:
<!--#global var="PARENT_URI" value=&DOCUMENT_URI; -->
136 WebProgramming Guide V4R5