-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.htaccess
30 lines (25 loc) · 842 Bytes
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
################################################################################################################
## Basic htaccess file for PawTunes
## What does it do?
## Disables autoindex, mod rewrite and adds headers to required files (some providers miss these)
################################################################################################################
# Turn off rewrite
<IfModule mod_rewrite.c>
RewriteEngine Off
</IfModule>
<IfModule pagespeed_module>
ModPagespeed off
</IfModule>
# Turn off autoindex
<IfModule mod_autoindex.c>
Options -Indexes
</IfModule>
# Fix issue with ZLIB output compression
# php_flag zlib.output_compression off
# Add Type headers
AddType video/webm .webm
AddType video/ogg .ogv
AddType audio/ogg .ogg
AddType video/mp4 .mp4
AddType audio/mpeg .mp3
AddType image/svg+xml .svg