Montag, 6. Januar 2014

SSI on Debian

Server Side Includes are an old fashioned way to enable active web server content. Debian provides a module
  /etc/apache2/mods-available/include.load
but lacks a configuration file. This configuration enables SSI for SHTML files.
<IfModule mod_include.c>
  <Location />
    Options +Includes
    AddType text/html .shtml
    AddOutputFilter INCLUDES .shtml
    DirectoryIndex index.shtml
  </Location>
</IfModule>

Keine Kommentare: