annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
956e484adc12 Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1 # Make sure we have PHP
956e484adc12 Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 Include conf.extra/php.conf
956e484adc12 Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3 #
956e484adc12 Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4 # Cause the PHP interpreter to handle files with a .html extension.
956e484adc12 Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
5 #
956e484adc12 Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
6 AddHandler php5-script .html
956e484adc12 Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
7 AddType text/html .html
10
440ea809487c Add missing php.conf and make html-php config try index.html first as index
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
8
440ea809487c Add missing php.conf and make html-php config try index.html first as index
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
9 #If we're doing HTML files as PHP then swap the priority for directory indexing
440ea809487c Add missing php.conf and make html-php config try index.html first as index
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
10 DirectoryIndex index.html index.php