AddCharset UTF-8 .xml
AddCharset UTF-8 .json
AddType application/atom+xml .xml
AddType application/json .json
Order allow,deny
Deny from all
Require all denied
RewriteEngine On
RewriteBase /microblog
# friendly URLs
RewriteRule ^rsd/?$ lib/rsd.xml.php [L]
RewriteRule ^xmlrpc/?(.*)$ lib/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]