.htaccess 735 B

12345678910111213141516171819202122232425262728
  1. Options -Indexes
  2. <IfModule mod_headers.c>
  3. Header set Cache-Control "no-cache, no-store, must-revalidate"
  4. Header set Pragma "no-cache"
  5. Header set Expires 0
  6. </IfModule>
  7. <IfModule mod_headers.c>
  8. FileETag None
  9. Header unset ETag
  10. Header unset Pragma
  11. Header unset Cache-Control
  12. Header unset Last-Modified
  13. Header set Pragma "no-cache"
  14. Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
  15. Header set Expires "Thu, 1 Jan 1970 00:00:00 GMT"
  16. </IfModule>
  17. <IfModule mod_expires.c>
  18. ExpiresActive Off
  19. </IfModule>
  20. <FilesMatch "\.(mp4|avi|mkv)$">
  21. ForceType application/octet-stream
  22. Header set Content-Disposition attachment
  23. </FilesMatch>