Created
February 19, 2016 13:08
-
-
Save vojtasvoboda/76754863a5fd00641151 to your computer and use it in GitHub Desktop.
Force file download
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_headers.c> | |
<FilesMatch "\.(mp4|MP4)$"> | |
ForceType video/mp4 | |
Header set Content-Disposition "attachment" | |
Allow from all | |
</FilesMatch> | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment