File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / lighttpd / doc / outdated / ssi.txt
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Mon Oct 14 10:32:48 2013 UTC (11 years, 5 months ago) by misho
Branches: lighttpd, MAIN
CVS tags: v1_4_41p8, v1_4_35p0, v1_4_35, v1_4_33, HEAD
1.4.33

    1: ====================
    2: Server-Side Includes
    3: ====================
    4: 
    5: ---------------
    6: Module: mod_ssi
    7: ---------------
    8: 
    9: :Author: Jan Kneschke
   10: :Date: $Date: 2013/10/14 10:32:48 $
   11: :Revision: $Revision: 1.1.1.1 $
   12: 
   13: :abstract:
   14:   The module for server-side includes provides a compatability
   15:   layer for NSCA/Apache SSI.
   16: 
   17: .. meta::
   18:   :keywords: lighttpd, ssi, Server-Side Includes
   19: 
   20: .. contents:: Table of Contents
   21: 
   22: Description
   23: ===========
   24: 
   25: Configuration
   26: -------------
   27: 
   28: ::
   29: 
   30:   server.modules = ( ..., "mod_ssi", ... )
   31:   ssi.extension = ( ".shtml" )
   32: 
   33: Supported Options
   34: -----------------
   35: 
   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="..." -->``
   45: - ``<!--#else -->``
   46: - ``<!--#endif -->``
   47: 
   48: Expression Handling
   49: -------------------
   50: 
   51: Every ''expr'' is interpreted:
   52: 
   53: - logical: AND, OR, !
   54: - compare: =, <, <=, >, =>, !=
   55: - precedence: (, )
   56: - quoted strings: 'string with a dollar: $FOO'
   57: - variable substitution: $REMOTE_ADDR
   58: - unquoted strings: string
   59: 
   60: Flow Control
   61: ------------
   62: 
   63: if, elif, else and endif can only be used to insert content under special
   64: conditions.
   65: 
   66: Unsupported Features
   67: --------------------
   68: 
   69: The original SSI module from NCSA and Apache provided some more options
   70: which are not supported by this module for various reasons:
   71: 
   72: - exec
   73: - nested virtual
   74: - config.errmsg
   75: - echo.encoding
   76: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>