view modules/website/files/conf.extra/html-php.conf @ 30:6c63be9a0320

Put Sir Terry Pratchett's name on the Clacks, as the Smoking Gnu would do.
author IBBoard <dev@ibboard.co.uk>
date Sun, 15 Mar 2015 18:51:57 +0000
parents 440ea809487c
children 5967c1b18860
line wrap: on
line source

# Make sure we have PHP
Include conf.extra/php.conf
#
# Cause the PHP interpreter to handle files with a .html extension.
#
AddHandler php5-script .html
AddType text/html .html

#If we're doing HTML files as PHP then swap the priority for directory indexing
DirectoryIndex index.html index.php