10
:Date: $Date: 2004/08/29 09:44:53 $
11
:Revision: $Revision: 1.2 $
14
The module for server-side includes provides a compatability
15
layer for NSCA/Apache SSI.
18
:keywords: lighttpd, ssi, Server-Side Includes
20
.. contents:: Table of Contents
30
server.modules = ( ..., "mod_ssi", ... )
31
ssi.extension = ( ".shtml" )
36
- ``<!--#echo var="..." -->``
37
- ``<!--#include (file="..."\|virtual="...") -->``
38
- ``<!--#flastmod (file="..."\|virtual="...") -->``
39
- ``<!--#fsize (file="..."\|virtual="...") -->``
40
- ``<!--#config timefmt="..." sizefmt="(bytes|abbrev)" -->``
41
- ``<!--#printenv -->``
42
- ``<!--#set var="..." value="..." -->``
43
- ``<!--#if expr="..." -->``
44
- ``<!--#elif expr="..." -->``
51
Every ''expr'' is interpreted:
54
- compare: =, <, <=, >, =>, !=
56
- quoted strings: 'string with a dollar: $FOO'
57
- variable substitution: $REMOTE_ADDR
58
- unquoted strings: string
63
if, elif, else and endif can only be used to insert content under special
69
The original SSI module from NCSA and Apache provided some more options
70
which are not supported by this module for various reasons: