I am trying to disable Apache authentication for certain files, but I don't seem to get it right. This is what I have on .htaccess:
AuthType Basic
AuthName "Authentication Required"
AuthUserFile "/home/site/.htpasswd"
Require valid-user
<FilesMatch "\.(ico|gif|jpg|png|mp3|js|css|json|xml)$">
Satisfy any
Allow from all
</FilesMatch>
Any ideas?