Options -Indexes
DirectoryIndex index.php

# Keep the database, code library and notes private
RedirectMatch 403 /(inc|data)(/|$)
<FilesMatch "\.(sqlite|lock|md)$">
  <IfModule mod_authz_core.c>
    Require all denied
  </IfModule>
  <IfModule !mod_authz_core.c>
    Deny from all
  </IfModule>
</FilesMatch>
