Options -Indexes

<IfModule mod_rewrite.c>
  RewriteEngine On

  # If the site is in a subdirectory, set RewriteBase to that public path.
  # Example:
  # RewriteBase /heimam/webfilebrowser/_ARCHIVE/fall-system/public/

  # Block sensitive folders if the vhost root is wrong
  RewriteRule ^(storage|data|uploads|includes|\.git|vendor)(/|$) - [F,L]

  RewriteCond %{REQUEST_FILENAME} -f [OR]
  RewriteCond %{REQUEST_FILENAME} -d
  RewriteRule ^ - [L]

  RewriteRule ^$ index.php [L,QSA]
</IfModule>
