Apache download files with specific extension
snippet in htaccess

Apache download files with specific extension

user2962

<FilesMatch "\.(zzz|yyy)$">
  ForceType application/octet-stream
  Header set Content-Disposition attachment
</FilesMatch>