# Ebook Store — block direct access to files that are never meant to be fetched.
<FilesMatch "\.(txt|log|md|json|lock|dist|yml|yaml|sql)$">
	<IfModule mod_authz_core.c>
		Require all denied
	</IfModule>
	<IfModule !mod_authz_core.c>
		Order allow,deny
		Deny from all
	</IfModule>
</FilesMatch>

# readme.txt is the one .txt WordPress itself reads.
<Files "readme.txt">
	<IfModule mod_authz_core.c>
		Require all granted
	</IfModule>
	<IfModule !mod_authz_core.c>
		Order allow,deny
		Allow from all
	</IfModule>
</Files>

Options -Indexes
