annotate sites/default/files/php/twig/5cd43804194fc_menu-local-tasks.html.twi_iSBfDap9ssCxrqaRWavPsCupd/.htaccess @ 19:fa3358dc1485 tip

Add ndrum files
author Chris Cannam
date Wed, 28 Aug 2019 13:14:47 +0100
parents af1871eacc83
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>