Options -Indexes

DirectoryIndex index.php

<IfModule mod_headers.c>
  Header always set X-Content-Type-Options "nosniff"
  Header always set X-Frame-Options "DENY"
  Header always set Referrer-Policy "strict-origin-when-cross-origin"
  Header always set Permissions-Policy "camera=(), microphone=(), geolocation=(), payment=(), usb=()"
</IfModule>

<IfModule mod_authz_core.c>
  <FilesMatch "^(README|VALIDATION|VERSION|LEEME).*|.*\.(sql|sqlite|sqlite3|db|bak|log|ini|md|lock|zip)$|.*-(wal|shm|journal)$">
    Require all denied
  </FilesMatch>
</IfModule>

<IfModule !mod_authz_core.c>
  <FilesMatch "^(README|VALIDATION|VERSION|LEEME).*|.*\.(sql|sqlite|sqlite3|db|bak|log|ini|md|lock|zip)$|.*-(wal|shm|journal)$">
    Order allow,deny
    Deny from all
  </FilesMatch>
</IfModule>
