blob: 5c21e0de183d2261f8c01517ae26d0a68c2344dc (
plain)
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
|
AddCharset UTF-8 .xml
AddCharset UTF-8 .json
AddType application/atom+xml .xml
AddType application/json .json
<Files ~ "\.db$">
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
</IfModule>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
</Files>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
# friendly URLs
RewriteRule ^feed/json/?$ feed/feed.json [L]
RewriteRule ^feed/atom/?$ feed/feed.xml [L]
RewriteRule ^.well_known/webfinger$ /.well-known/webfinger [R=302] # stupid
RewriteRule ^.well-known/webfinger$ /webfinger [L] # correct
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php [L]
</IfModule>
|