annotate sites/default/files/.htaccess @ 7:848c88cfe644

More layout
author Chris Cannam
date Fri, 05 Jan 2018 13:59:44 +0000
parents 4c8ae668cc8c
children
rev   line source
Chris@0 1 # Turn off all options we don't need.
Chris@0 2 Options -Indexes -ExecCGI -Includes -MultiViews
Chris@0 3
Chris@0 4 # Set the catch-all handler to prevent scripts from being executed.
Chris@0 5 SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
Chris@0 6 <Files *>
Chris@0 7 # Override the handler again if we're run later in the evaluation list.
Chris@0 8 SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003
Chris@0 9 </Files>
Chris@0 10
Chris@0 11 # If we know how to do it safely, disable the PHP engine entirely.
Chris@0 12 <IfModule mod_php5.c>
Chris@0 13 php_flag engine off
Chris@0 14 </IfModule>