Options -Indexes
DirectoryIndex index.php

<IfModule mod_rewrite.c>
  RewriteEngine On
</IfModule>

<IfModule mod_php.c>
  php_flag display_errors Off
  php_flag log_errors On
</IfModule>

<FilesMatch "\.(db|sqlite|sqlite3|ini|env|log)$">
  Require all denied
</FilesMatch>

<FilesMatch "\.(php)$">
  Require all denied
</FilesMatch>

<Files "index.php">
  Require all granted
</Files>
