comparison files/.htaccess @ 8:50b0d041100e

Further files for download
author Chris Cannam
date Mon, 05 Feb 2018 10:56:40 +0000
parents
children
comparison
equal deleted inserted replaced
7:848c88cfe644 8:50b0d041100e
1 # Turn off all options we don't need.
2 Options None
3 Options +FollowSymLinks
4
5 # Set the catch-all handler to prevent scripts from being executed.
6 SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
7 <Files *>
8 # Override the handler again if we're run later in the evaluation list.
9 SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003
10 </Files>
11
12 # If we know how to do it safely, disable the PHP engine entirely.
13 <IfModule mod_php5.c>
14 php_flag engine off
15 </IfModule>
16 # PHP 4, Apache 1.
17 <IfModule mod_php4.c>
18 php_flag engine off
19 </IfModule>
20 # PHP 4, Apache 2.
21 <IfModule sapi_apache2.c>
22 php_flag engine off
23 </IfModule>
24