# Apache 2.2
<IfModule !mod_authz_core.c>
	Order deny,allow
	Deny from all
	<Files ~ "(?i)^.*\.(jpg|jpeg|gif|png|bmp|tiff|svg|pdf|mov|mpeg|mp4|avi|mpg|wma|flv|webm|ico|webp|avif|woff|woff2|ttf|eot|otf|css|js)$">
		Allow from all
	</Files>
</IfModule>

# Apache 2.4
<IfModule mod_authz_core.c>
	Require all denied
	<Files ~ "(?i)^.*\.(jpg|jpeg|gif|png|bmp|tiff|svg|pdf|mov|mpeg|mp4|avi|mpg|wma|flv|webm|ico|webp|avif|woff|woff2|ttf|eot|otf|css|js)$">
		Require all granted
	</Files>
</IfModule>