annotate sites/default/files/php/twig/.htaccess @ 17:129ea1e6d783

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