.htaccess 532 B

123456789101112131415161718
  1. # Turn off all options we don't need.
  2. Options None
  3. Options +FollowSymLinks
  4. # Set the catch-all handler to prevent scripts from being executed.
  5. SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
  6. <Files *>
  7. # Override the handler again if we're run later in the evaluation list.
  8. SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003
  9. </Files>
  10. # If we know how to do it safely, disable the PHP engine entirely.
  11. <IfModule mod_php5.c>
  12. php_flag engine off
  13. </IfModule>
  14. <IfModule mod_php7.c>
  15. php_flag engine off
  16. </IfModule>