From 24e62005fc0ad4496032206ec0538b3299e4cedb Mon Sep 17 00:00:00 2001 From: Arno Richter Date: Tue, 13 Dec 2022 16:43:19 +0100 Subject: added support for the microblog XMLRPC API. --- .htaccess | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.htaccess') diff --git a/.htaccess b/.htaccess index d8e6eb2..bdabf00 100644 --- a/.htaccess +++ b/.htaccess @@ -18,6 +18,12 @@ AddType application/json .json 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] -- cgit v1.2.3