Mercurial > hg > isophonics-drupal-site
comparison sites/default/files/php/twig/.htaccess @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children | 129ea1e6d783 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4c8ae668cc8c |
---|---|
1 # Deny all requests from Apache 2.4+. | |
2 <IfModule mod_authz_core.c> | |
3 Require all denied | |
4 </IfModule> | |
5 | |
6 # Deny all requests from Apache 2.0-2.2. | |
7 <IfModule !mod_authz_core.c> | |
8 Deny from all | |
9 </IfModule> | |
10 # Turn off all options we don't need. | |
11 Options -Indexes -ExecCGI -Includes -MultiViews | |
12 | |
13 # Set the catch-all handler to prevent scripts from being executed. | |
14 SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006 | |
15 <Files *> | |
16 # Override the handler again if we're run later in the evaluation list. | |
17 SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003 | |
18 </Files> | |
19 | |
20 # If we know how to do it safely, disable the PHP engine entirely. | |
21 <IfModule mod_php5.c> | |
22 php_flag engine off | |
23 </IfModule> |