DirectoryIndex index.html index.php
Options -MultiViews
# Restrict access to VCS directories
RedirectMatch 404 /\\.(svn|git|hg|bzr|cvs)(/|$)
# Restrict access to root folder files
RedirectMatch 404 /(composer\.(json|lock|phar)|README\.md|\.gitignore|.*\.dist|\.env.*)$
RedirectMatch 301 ^[[relativeurl]]/$ [[softurl]]/public