archive-ccc8458/video/videos/.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Options -Indexes
<FilesMatch "\.(mp4|webm|mov|mkv|jpg|jpeg|png|webp)$">
Header set Content-Disposition inline
Header set Cache-Control "public, max-age=31536000, immutable"
</FilesMatch>
# Block PHP execution in the uploads dir as belt-and-braces
<FilesMatch "\.(php|phtml|phar)$">
Require all denied
</FilesMatch>
# Internal sidecar markers — not for the web.
<FilesMatch "\.unlisted$">
Require all denied
</FilesMatch>