# Dashboard knowledge API — Allow PHP execution, deny data files
<IfModule mod_rewrite.c>
    RewriteEngine Off
</IfModule>

# Block direct access to JSON data files
<FilesMatch "\.(json|log|txt|md)$">
    <IfModule mod_authz_core.c>
        Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
        Deny from all
    </IfModule>
</FilesMatch>
