view modules/website/files/conf.extra/html-php.conf @ 10:440ea809487c

Add missing php.conf and make html-php config try index.html first as index
author IBBoard <dev@ibboard.co.uk>
date Sat, 08 Nov 2014 15:35:38 +0000
parents 956e484adc12
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