blob: bdabf00e9482ed21371151412e803610b3bc9bad (
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
|
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 /microblog
# friendly URLs
RewriteRule ^rsd/?$ rsd.xml.php [L]
RewriteRule ^xmlrpc/?(.*)$ xmlrpc.php?/$1 [L]
RewriteRule ^feed/json/?$ feed/feed.json [L]
RewriteRule ^feed/atom/?$ feed/feed.xml [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php [L]
</IfModule>
|