-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.htaccess
executable file
·62 lines (49 loc) · 2.07 KB
/
.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
Options +Indexes
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
BrowserMatch MSIE ie
Header set X-UA-Compatible "IE=Edge,chrome=1" env=ie
</IfModule>
</IfModule>
<IfModule mod_headers.c>
Header append Vary User-Agent
</IfModule>
<IfModule mod_deflate.c>
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s,?\s(gzip|deflate)?|X{4,13}|~{4,13}|-{4,13})$ HAVE_Accept-Encoding
RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding
</IfModule>
</IfModule>
<IfModule filter_module>
FilterDeclare COMPRESS
FilterProvider COMPRESS DEFLATE resp=Content-Type /text/(html|css|javascript|plain|x(ml|-component))/
FilterProvider COMPRESS DEFLATE resp=Content-Type /application/(javascript|json|xml|x-javascript)/
FilterChain COMPRESS
FilterProtocol COMPRESS change=yes;byteranges=no
</IfModule>
<IfModule !mod_filter.c>
# Legacy versions of Apache
AddOutputFilterByType DEFLATE text/html text/plain text/css application/json
AddOutputFilterByType DEFLATE text/javascript application/javascript application/x-javascript
AddOutputFilterByType DEFLATE text/xml application/xml text/x-component
</IfModule>
</IfModule>
<IfModule mod_headers.c>
Header unset ETag
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
</IfModule>
<IfModule mod_rewrite.c>
RewriteRule ^cr([0-9]+)$ /podcasts/?search&podcast=./cr/$1 [L]
RewriteRule ^sz/(.*)$ /podcasts/?search&podcast=./dss/$1 [L]
RewriteRule ^fs/(.*)$ /podcasts/?search&podcast=./mm/$1 [L]
RewriteRule ^any/(.*)$ /podcasts/?search&podcast=./anycast/$1 [L]
RewriteRule ^wr/(.*)$ /podcasts/?search&podcast=./wrint/$1 [L]
RewriteRule ^(abs|anycast|bm|cr|cre|culinaricast|dss|dw|ep|fan|hoaxilla|jc|lecast|lk|ll|ls|mm|ng|nsfw|osm|pp|pp|psyt|pt|qs|rl|sbk|scsp|sk|sozio|wg|wmr|wrint)/(.*)$ /podcasts/?search&podcast=./$1/$2 [L]
RewriteRule ^PIS$ /pis/ [L]
</IfModule>
FileETag None
AddDefaultCharset utf-8
AddCharset utf-8 .html .css .js .xml .json .rss