# Public documentation: readable without a login, unlike admin/ and the API.
Options -Indexes

<IfModule mod_rewrite.c>
    RewriteEngine On

    # The address handed to agents. A .txt extension states the content type
    # before the request is made; the response comes from llms.php.
    RewriteRule ^llms\.txt$ llms.php [L]
</IfModule>

# The parent .htaccess denies .md and .json outright. Both are served through
# PHP here (index.php, llms.php, openapi.php), so the denial stays in place and
# content/ plus openapi.json remain unreachable directly.
