# Zusätzlicher Schutz, falls das Document Root nicht auf public/ zeigt:
# Interne Ordner und Dateien sind von aussen nie erreichbar.
<IfModule mod_alias.c>
    RedirectMatch 404 /(data|src|templates|vendor)(/|$)
</IfModule>
<FilesMatch "^(config\.php|composer\.(json|lock)|README\.md|\.gitignore|\.htaccess)$">
    <IfModule mod_authz_core.c>
        Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
        Order allow,deny
        Deny from all
    </IfModule>
</FilesMatch>
