# Block direct web access to source, templates and data files. Static assets
# (css, images, fonts) stay public. Front/admin controllers run through the shop dispatcher.

# Apache 2.4
<IfModule mod_authz_core.c>
    <FilesMatch "\.(php|tpl|twig|yml|yaml|json|md|sql|log|lock|dist|xml|txt)$">
        Require all denied
    </FilesMatch>
</IfModule>

# Apache 2.2
<IfModule !mod_authz_core.c>
    <FilesMatch "\.(php|tpl|twig|yml|yaml|json|md|sql|log|lock|dist|xml|txt)$">
        Order allow,deny
        Deny from all
    </FilesMatch>
</IfModule>
