Content folder exposed despite correct htaccess rules

I am getting The content folder seems to be exposed and sure enough I can access my site.txt file directly by URL.

The strange thing is I have the correct htaccess rules and these rules work for the site and kirby folders.

# block all files in the content folder from being accessed directly
RewriteRule ^content/(.*) index.php [L]

# block all files in the site folder from being accessed directly
RewriteRule ^site/(.*) index.php [L]

# block direct access to Kirby and the Panel sources
RewriteRule ^kirby/(.*) index.php [L]

All 3 folders have the same permissions. When I comment out the site folder rule, I can access files directly.

Iā€™m stumped.