Mercurial > repos > other > Puppet
comparison 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 |
comparison
equal
deleted
inserted
replaced
9:ca6ce30c0bfc | 10:440ea809487c |
---|---|
3 # | 3 # |
4 # Cause the PHP interpreter to handle files with a .html extension. | 4 # Cause the PHP interpreter to handle files with a .html extension. |
5 # | 5 # |
6 AddHandler php5-script .html | 6 AddHandler php5-script .html |
7 AddType text/html .html | 7 AddType text/html .html |
8 | |
9 #If we're doing HTML files as PHP then swap the priority for directory indexing | |
10 DirectoryIndex index.html index.php |