This class provides the most general and commonly-used SSI commands. Compatibility with the NCSA-style directive set has been maintained as much as it made sense to, and new functionality adequate to Jigsaw has been added.
The following summary of the commands only discuss differences from the NCSA directive set. Please refer to the NCSA server-side includes tutorial for comparison.
The full set of commands of the DefaultCommandRegistry is:
errmsgtag is not implemented.
virtualtags are handled in the same way. Both originate an internal request to the URL given as the value of the tag. There is no provision for including a file that is not indexed by Jigsaw. This command can be used to include the content of any resource. This includes the SSIResource.
In addition, the following tags are admissible:
ifheader, it specifies a URL to be included in case the header is not defined.
vartag, which has the NCSA behavior, the following tags are admissible:
hereIf this tag is present, command is expanded as interpreted relative to the innermost internal request. By default, it is interpreted relative to the original (client) request.
here. If present, this tag indicates to include the file size of the innermost included file. Normally, it includes the file size of the topmost SSI-parsed file requested by the client. It honors the
sizefmtvariable, as set by
heretag, which indicates to include the time stamp of the innermost included file.
cmdtag. Given that the
includecommand can include CgiResources, the
cgitag is superfluous.
If the SSIResource
secure attribute is set, this command will