Created
November 2, 2012 00:07
-
-
Save NapoleonWils0n/3997744 to your computer and use it in GitHub Desktop.
apache: force download in directory
This file contains hidden or 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
<Directory "/Users/username/Sites/downloads/"> | |
<Files *.mp4> | |
ForceType video/mp4 | |
Header add Content-Disposition attachment | |
</Files> | |
</Directory> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment