<IfModule !mod_authz_core.c>
  Order deny,allow
  Deny from all
  <FilesMatch "\.(js|css|htc|png|gif|jpe?g|eot|otf|tt[cf]|woff|svg|svgz)$">
    Allow from all
  </FilesMatch>
</IfModule>
<IfModule mod_authz_core.c>
  Require all denied
  <FilesMatch "\.(js|css|htc|png|gif|jpe?g|eot|otf|tt[cf]|woff|svg|svgz)$">
    Require all granted
  </FilesMatch>
</IfModule>