Apache directive for file downloads
snippet in htaccess

Apache directive for file downloads

user7290

<Files *.mp4>
  ForceType application/octet-stream
  Header set Content-Disposition attachment
</Files>
<Files *.pdf>
  ForceType application/octet-stream
  Header set Content-Disposition attachment
</Files>