SSI Config Command
The Config command is used to control certain aspects of parsing behaviour. In other words you can define how certain elements are displayed instead of their default way.
The config command allows you to specify the format that will be used for dates, times and file sizes and the text of the generic error message which will be sent to the client if an SSI processing error occurs.
To change the format for how file size is displayed:
<!--#config sizefmt="bytes" -->
Sizefmt sets the format to be used when displaying file sizes using the fsize command. As shown in the above example it can be formatted to display in bytes or in abbreviated format as kilobytes or megabytes as appropriate.
To format the date to yy/mm/dd you can use:
<!--#config timefmt="%y/%m/%d" -->
More about this in the SSI Date Command guide.
If an SSI command fails there is a standard error message
displayed. To change this message you can use:
<!--#config errmsg="Hugh Stun, we have a problem." -->
You can actually define more than one attribute in a single config statement. The following example defines the format for both the date and file size.:
<!--#config timefmt="%y/%m/%d" sizefmt="abbrev" -->