Mercurial > dive4elements > website
view .htaccess @ 40:5632e05bb890
Split index.html into header, footer, main and feed, using serversite includes to merge them.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Mon, 10 Mar 2014 16:28:16 +0100 |
parents | 52a04c9999b0 |
children | 5541d758f62a |
line wrap: on
line source
# Activate serversite includes. AddOutputFilter INCLUDES .shtml XBitHack on # Activate "Python Server Pages" AddHandler mod_python .psp PythonHandler mod_python.psp AddDefaultCharset UTF-8 DirectoryIndex index.psp # Nobody should see the index.html RewriteEngine On RewriteRule ^index\.html$ $1/index.psp [R]