17/02/10 Output filter - after handler, before transmitting response - e.g. compression on the fly - e.g. SSI Dynamic content - SSIs - CGI - FastCGI - Embedding PHP/Perl into Apache - Java servlets Server-Side Includes (SSIs) - a simple mechanism for embedding dynamic info into an otherwise static HTML page - e.g. the current date - e.g. the contents of environment variables Module: mod_include Directives: Options +Includes AddType text/html .shtml AddOutputFilter Includes .shtml Commands #echo #exec #include #set #if #else #endif Format The command is executed; the result replaces the comment Very cheap (simple substitutions, done as an output filter) But not very powerful (not the power of a full programming language) Ideal for templates (headers, footers) But no longer very popular