[add] .httaccess for force dl
This commit is contained in:
parent
7d00e3f4aa
commit
4d7cd7d020
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -3,3 +3,5 @@ tmp
|
|||
videos
|
||||
.project
|
||||
bin/cronTask.sh
|
||||
!videos/.htaccess
|
||||
|
||||
|
|
7
videos/.htaccess
Normal file
7
videos/.htaccess
Normal file
|
@ -0,0 +1,7 @@
|
|||
AddType video/ogg .ogv
|
||||
AddType video/mp4 .mp4
|
||||
AddType video/webm .webm
|
||||
<Files *.webm>
|
||||
ForceType application/octet-stream
|
||||
Header set Content-Disposition attachment
|
||||
</Files>
|
Loading…
Reference in a new issue