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 /
# 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]