Files
coolify-examples/shopware6/.htaccess
2025-12-13 20:06:52 +01:00

15 lines
369 B
ApacheConf

DirectoryIndex index.html index.php
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
<IfModule mod_alias.c>
# 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.*)$
</IfModule>