Created
June 15, 2014 09:56
-
-
Save ingozoell/c022b7b148f62b736542 to your computer and use it in GitHub Desktop.
Force download of specific files
http://www.thewebhatesme.com/entwicklung/zehn-nuetzliche-htaccess-snippets-die-man-immer-mal-gebrauchen-kann/
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
<Files *.xls> | |
ForceType application/octet-stream | |
Header set Content-Disposition attachment | |
</Files> | |
<Files *.eps> | |
ForceType application/octet-stream | |
Header set Content-Disposition attachment | |
</Files> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment