diff 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 diff
--- a/modules/website/files/conf.extra/html-php.conf	Mon Oct 27 20:31:27 2014 +0000
+++ b/modules/website/files/conf.extra/html-php.conf	Sat Nov 08 15:35:38 2014 +0000
@@ -5,3 +5,6 @@
 #
 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