Mercurial > hg > isophonics-drupal-site
annotate sites/default/files/php/twig/5c77df9da7840_menu-local-task.html.twig_CyZBDRlpXnhaZDz3KzNHr4Ys1/.htaccess @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | |
children |
rev | line source |
---|---|
Chris@17 | 1 # Deny all requests from Apache 2.4+. |
Chris@17 | 2 <IfModule mod_authz_core.c> |
Chris@17 | 3 Require all denied |
Chris@17 | 4 </IfModule> |
Chris@17 | 5 |
Chris@17 | 6 # Deny all requests from Apache 2.0-2.2. |
Chris@17 | 7 <IfModule !mod_authz_core.c> |
Chris@17 | 8 Deny from all |
Chris@17 | 9 </IfModule> |
Chris@17 | 10 |
Chris@17 | 11 # Turn off all options we don't need. |
Chris@17 | 12 Options -Indexes -ExecCGI -Includes -MultiViews |
Chris@17 | 13 |
Chris@17 | 14 # Set the catch-all handler to prevent scripts from being executed. |
Chris@17 | 15 SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006 |
Chris@17 | 16 <Files *> |
Chris@17 | 17 # Override the handler again if we're run later in the evaluation list. |
Chris@17 | 18 SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003 |
Chris@17 | 19 </Files> |
Chris@17 | 20 |
Chris@17 | 21 # If we know how to do it safely, disable the PHP engine entirely. |
Chris@17 | 22 <IfModule mod_php5.c> |
Chris@17 | 23 php_flag engine off |
Chris@17 | 24 </IfModule> |