2008-06-07 03:20:44 +09:00
|
|
|
RewriteEngine On
|
|
|
|
|
2008-09-11 03:00:50 +09:00
|
|
|
# NOTE: change this to your actual Laconica path; may be "/".
|
|
|
|
|
|
|
|
RewriteBase /mublog/
|
|
|
|
|
2008-06-15 12:55:10 +09:00
|
|
|
RewriteRule ^$ index.php?action=public [L,QSA]
|
|
|
|
RewriteRule ^rss$ index.php?action=publicrss [L,QSA]
|
2008-06-19 03:26:47 +09:00
|
|
|
RewriteRule ^xrds$ index.php?action=publicxrds [L,QSA]
|
2008-07-21 04:55:05 +09:00
|
|
|
RewriteRule ^opensearch/people$ index.php?action=opensearch&type=people [L,QSA]
|
|
|
|
RewriteRule ^opensearch/notice$ index.php?action=opensearch&type=notice [L,QSA]
|
2008-06-07 04:51:36 +09:00
|
|
|
|
|
|
|
RewriteRule ^doc/about$ index.php?action=doc&title=about [L,QSA]
|
2008-07-02 02:56:11 +09:00
|
|
|
RewriteRule ^doc/contact$ index.php?action=doc&title=contact [L,QSA]
|
2008-07-01 01:13:04 +09:00
|
|
|
RewriteRule ^doc/faq$ index.php?action=doc&title=faq [L,QSA]
|
2008-06-07 04:51:36 +09:00
|
|
|
RewriteRule ^doc/help$ index.php?action=doc&title=help [L,QSA]
|
2008-07-01 02:13:17 +09:00
|
|
|
RewriteRule ^doc/im$ index.php?action=doc&title=im [L,QSA]
|
2008-07-02 02:24:29 +09:00
|
|
|
RewriteRule ^doc/openid$ index.php?action=doc&title=openid [L,QSA]
|
2008-07-02 01:57:17 +09:00
|
|
|
RewriteRule ^doc/openmublog$ index.php?action=doc&title=openmublog [L,QSA]
|
2008-06-07 04:51:36 +09:00
|
|
|
RewriteRule ^doc/privacy$ index.php?action=doc&title=privacy [L,QSA]
|
|
|
|
RewriteRule ^doc/source$ index.php?action=doc&title=source [L,QSA]
|
|
|
|
|
|
|
|
RewriteRule ^main/login$ index.php?action=login [L,QSA]
|
|
|
|
RewriteRule ^main/logout$ index.php?action=logout [L,QSA]
|
2008-08-27 09:19:27 +09:00
|
|
|
RewriteRule ^main/register/(.*)$ index.php?action=register&code=$1 [L,QSA]
|
2008-06-07 04:51:36 +09:00
|
|
|
RewriteRule ^main/register$ index.php?action=register [L,QSA]
|
2008-06-19 01:07:33 +09:00
|
|
|
RewriteRule ^main/openid$ index.php?action=openidlogin [L,QSA]
|
2008-07-02 01:40:58 +09:00
|
|
|
RewriteRule ^main/remote$ index.php?action=remotesubscribe [L,QSA]
|
2008-06-07 04:51:36 +09:00
|
|
|
|
|
|
|
RewriteRule ^main/subscribe$ index.php?action=subscribe [L,QSA]
|
|
|
|
RewriteRule ^main/unsubscribe$ index.php?action=unsubscribe [L,QSA]
|
2008-06-23 00:52:50 +09:00
|
|
|
RewriteRule ^main/confirmaddress$ index.php?action=confirmaddress [L,QSA]
|
|
|
|
RewriteRule ^main/confirmaddress/(.*)$ index.php?action=confirmaddress&code=$1 [L,QSA]
|
2008-06-25 07:03:35 +09:00
|
|
|
RewriteRule ^main/recoverpassword$ index.php?action=recoverpassword [L,QSA]
|
|
|
|
RewriteRule ^main/recoverpassword/(.*)$ index.php?action=recoverpassword&code=$1 [L,QSA]
|
2008-08-26 04:31:49 +09:00
|
|
|
RewriteRule ^main/invite$ index.php?action=invite [L,QSA]
|
2008-06-07 04:51:36 +09:00
|
|
|
|
2008-09-17 06:08:13 +09:00
|
|
|
RewriteRule ^main/favor$ index.php?action=favor [L,QSA]
|
|
|
|
RewriteRule ^main/disfavor$ index.php?action=disfavor [L,QSA]
|
|
|
|
|
2008-06-07 04:51:36 +09:00
|
|
|
RewriteRule ^settings/profile$ index.php?action=profilesettings [L,QSA]
|
2008-06-19 01:07:33 +09:00
|
|
|
RewriteRule ^settings/openid$ index.php?action=openidsettings [L,QSA]
|
2008-06-27 03:49:31 +09:00
|
|
|
RewriteRule ^settings/im$ index.php?action=imsettings [L,QSA]
|
2008-07-16 07:18:26 +09:00
|
|
|
RewriteRule ^settings/email$ index.php?action=emailsettings [L,QSA]
|
2008-07-21 17:37:58 +09:00
|
|
|
RewriteRule ^settings/sms$ index.php?action=smssettings [L,QSA]
|
2008-08-22 12:41:57 +09:00
|
|
|
RewriteRule ^settings/twitter$ index.php?action=twittersettings [L,QSA]
|
2008-06-07 04:51:36 +09:00
|
|
|
|
2008-07-10 07:31:44 +09:00
|
|
|
RewriteRule ^search/people$ index.php?action=peoplesearch [L,QSA]
|
|
|
|
RewriteRule ^search/notice$ index.php?action=noticesearch [L,QSA]
|
2008-07-10 08:42:28 +09:00
|
|
|
RewriteRule ^search/notice/rss$ index.php?action=noticesearchrss [L,QSA]
|
2008-07-10 07:31:44 +09:00
|
|
|
|
2008-06-07 04:51:36 +09:00
|
|
|
RewriteRule ^notice/new$ index.php?action=newnotice [L,QSA]
|
|
|
|
RewriteRule ^notice/(\d+)$ index.php?action=shownotice¬ice=$1 [L,QSA]
|
2008-07-26 12:42:09 +09:00
|
|
|
RewriteRule ^notice/delete/((\d+))?$ index.php?action=deletenotice¬ice=$2 [L,QSA]
|
|
|
|
RewriteRule ^notice/delete$ index.php?action=deletenotice [L,QSA]
|
2008-06-07 04:51:36 +09:00
|
|
|
|
2008-06-20 16:17:00 +09:00
|
|
|
RewriteRule ^user/(\d+)$ index.php?action=userbyid&id=$1 [L,QSA]
|
|
|
|
|
2008-07-20 17:10:21 +09:00
|
|
|
RewriteRule ^tags/?$ index.php?action=tag [L,QSA]
|
|
|
|
RewriteRule ^tag(/(.*))?$ index.php?action=tag&tag=$2 [L,QSA]
|
|
|
|
|
2008-06-07 04:51:36 +09:00
|
|
|
RewriteRule ^(\w+)/subscriptions$ index.php?action=subscriptions&nickname=$1 [L,QSA]
|
2008-06-19 02:16:22 +09:00
|
|
|
RewriteRule ^(\w+)/subscribers$ index.php?action=subscribers&nickname=$1 [L,QSA]
|
2008-06-07 04:51:36 +09:00
|
|
|
RewriteRule ^(\w+)/xrds$ index.php?action=xrds&nickname=$1 [L,QSA]
|
|
|
|
RewriteRule ^(\w+)/rss$ index.php?action=userrss&nickname=$1 [L,QSA]
|
|
|
|
RewriteRule ^(\w+)/all$ index.php?action=all&nickname=$1 [L,QSA]
|
|
|
|
RewriteRule ^(\w+)/all/rss$ index.php?action=allrss&nickname=$1 [L,QSA]
|
2008-06-10 21:11:32 +09:00
|
|
|
RewriteRule ^(\w+)/foaf$ index.php?action=foaf&nickname=$1 [L,QSA]
|
2008-07-07 12:23:48 +09:00
|
|
|
RewriteRule ^(\w+)/replies$ index.php?action=replies&nickname=$1 [L,QSA]
|
2008-07-07 16:30:25 +09:00
|
|
|
RewriteRule ^(\w+)/replies/rss$ index.php?action=repliesrss&nickname=$1 [L,QSA]
|
2008-07-11 15:00:45 +09:00
|
|
|
RewriteRule ^(\w+)/avatar/(original|96|48|24)$ index.php?action=avatarbynickname&nickname=$1&size=$2 [L,QSA]
|
2008-09-09 03:16:24 +09:00
|
|
|
RewriteRule ^(\w+)/favorites$ index.php?action=showfavorites&nickname=$1 [L,QSA]
|
2008-09-17 04:53:46 +09:00
|
|
|
RewriteRule ^(\w+)/inbox$ index.php?action=inbox&nickname=$1 [L,QSA]
|
|
|
|
RewriteRule ^(\w+)/outbox$ index.php?action=outbox&nickname=$1 [L,QSA]
|
2008-06-07 04:51:36 +09:00
|
|
|
|
|
|
|
RewriteRule ^(\w+)$ index.php?action=showstream&nickname=$1 [L,QSA]
|
2008-07-12 17:12:47 +09:00
|
|
|
|
2008-07-20 17:10:21 +09:00
|
|
|
# Twitter-compatible API rewrites
|
2008-07-15 04:03:00 +09:00
|
|
|
# XXX: Surely these can be refactored a little -- Zach
|
2008-07-14 17:07:41 +09:00
|
|
|
RewriteRule ^api/statuses/public_timeline(.*)$ index.php?action=api&apiaction=statuses&method=public_timeline$1 [L,QSA]
|
2008-07-15 04:03:00 +09:00
|
|
|
RewriteRule ^api/statuses/friends_timeline(.*)$ index.php?action=api&apiaction=statuses&method=friends_timeline$1 [L,QSA]
|
2008-07-18 09:23:24 +09:00
|
|
|
RewriteRule ^api/statuses/user_timeline/(.*)$ index.php?action=api&apiaction=statuses&method=user_timeline&argument=$1 [L,QSA]
|
2008-07-15 04:03:00 +09:00
|
|
|
RewriteRule ^api/statuses/user_timeline(.*)$ index.php?action=api&apiaction=statuses&method=user_timeline$1 [L,QSA]
|
2008-07-14 17:07:41 +09:00
|
|
|
RewriteRule ^api/statuses/show/(.*)$ index.php?action=api&apiaction=statuses&method=show&argument=$1 [L,QSA]
|
2008-07-17 14:44:11 +09:00
|
|
|
RewriteRule ^api/statuses/update(.*)$ index.php?action=api&apiaction=statuses&method=update$1 [L,QSA]
|
2008-07-18 07:28:45 +09:00
|
|
|
RewriteRule ^api/statuses/replies(.*)$ index.php?action=api&apiaction=statuses&method=replies&argument=$1 [L,QSA]
|
2008-07-15 04:03:00 +09:00
|
|
|
RewriteRule ^api/statuses/destroy/(.*)$ index.php?action=api&apiaction=statuses&method=destroy&argument=$1 [L,QSA]
|
2008-07-18 14:18:41 +09:00
|
|
|
RewriteRule ^api/statuses/friends/(.*)$ index.php?action=api&apiaction=statuses&method=friends&argument=$1 [L,QSA]
|
2008-07-15 04:03:00 +09:00
|
|
|
RewriteRule ^api/statuses/friends(.*)$ index.php?action=api&apiaction=statuses&method=friends$1 [L,QSA]
|
2008-07-18 14:18:41 +09:00
|
|
|
RewriteRule ^api/statuses/followers/(.*)$ index.php?action=api&apiaction=statuses&method=followers&argument=$1 [L,QSA]
|
2008-07-15 04:03:00 +09:00
|
|
|
RewriteRule ^api/statuses/followers(.*)$ index.php?action=api&apiaction=statuses&method=followers$1 [L,QSA]
|
|
|
|
RewriteRule ^api/statuses/featured(.*)$ index.php?action=api&apiaction=statuses&method=featured$1 [L,QSA]
|
2008-07-31 06:32:26 +09:00
|
|
|
RewriteRule ^api/users/show/(.*)$ index.php?action=api&apiaction=users&method=show&argument=$1 [L,QSA]
|
|
|
|
RewriteRule ^api/users/show(.*)$ index.php?action=api&apiaction=users&method=show$1 [L,QSA]
|
2008-07-15 04:03:00 +09:00
|
|
|
RewriteRule ^api/direct_messages/sent(.*)$ index.php?action=api&apiaction=direct_messages&method=sent$1 [L,QSA]
|
|
|
|
RewriteRule ^api/direct_messages/destroy/(.*)$ index.php?action=api&apiaction=direct_messages&method=destroy&argument=$1 [L,QSA]
|
|
|
|
RewriteRule ^api/direct_messages/new(.*)$ index.php?action=api&apiaction=direct_messages&method=create$1 [L,QSA]
|
|
|
|
RewriteRule ^api/direct_messages(.*)$ index.php?action=api&apiaction=direct_messages&method=direct_messages$1 [L,QSA]
|
2008-07-14 17:07:41 +09:00
|
|
|
RewriteRule ^api/friendships/create/(.*)$ index.php?action=api&apiaction=friendships&method=create&argument=$1 [L,QSA]
|
|
|
|
RewriteRule ^api/friendships/destroy/(.*)$ index.php?action=api&apiaction=friendships&method=destroy&argument=$1 [L,QSA]
|
|
|
|
RewriteRule ^api/friendships/exists(.*)$ index.php?action=api&apiaction=friendships&method=exists$1 [L,QSA]
|
|
|
|
RewriteRule ^api/account/verify_credentials(.*)$ index.php?action=api&apiaction=account&method=verify_credentials$1 [L,QSA]
|
|
|
|
RewriteRule ^api/account/end_session$ index.php?action=api&apiaction=account&method=end_session$1 [L,QSA]
|
|
|
|
RewriteRule ^api/account/update_location(.*)$ index.php?action=api&apiaction=account&method=update_location$1 [L,QSA]
|
|
|
|
RewriteRule ^api/account/update_delivery_device(.*)$ index.php?action=api&apiaction=account&method=update_delivery_device$1 [L,QSA]
|
|
|
|
RewriteRule ^api/account/rate_limit_status(.*)$ index.php?action=api&apiaction=account&method=rate_limit_status$1 [L,QSA]
|
|
|
|
RewriteRule ^api/favorites/create/(.*)$ index.php?action=api&apiaction=favorites&method=create&argument=$1 [L,QSA]
|
|
|
|
RewriteRule ^api/favorites/destroy/(.*)$ index.php?action=api&apiaction=favorites&method=destroy&argument=$1 [L,QSA]
|
2008-07-15 04:03:00 +09:00
|
|
|
RewriteRule ^api/favorites(.*)$ index.php?action=api&apiaction=favorites&method=favorites$1 [L,QSA]
|
2008-07-14 17:07:41 +09:00
|
|
|
RewriteRule ^api/notifications/follow/(.*)$ index.php?action=api&apiaction=notifications&method=follow&argument=$1 [L,QSA]
|
|
|
|
RewriteRule ^api/notifications/leave/(.*)$ index.php?action=api&apiaction=notifications&method=leave&argument=$1 [L,QSA]
|
|
|
|
RewriteRule ^api/blocks/create/(.*)$ index.php?action=api&apiaction=blocks&method=create&argument=$1 [L,QSA]
|
|
|
|
RewriteRule ^api/blocks/destroy/(.*)$ index.php?action=api&apiaction=blocks&method=destroy&argument=$1 [L,QSA]
|
|
|
|
RewriteRule ^api/help/(.*)$ index.php?action=api&apiaction=help&method=$1 [L,QSA]
|
2008-07-12 17:12:47 +09:00
|
|
|
|
2008-07-20 20:20:32 +09:00
|
|
|
<FilesMatch "\.(ini)">
|
|
|
|
Order allow,deny
|
|
|
|
</FilesMatch>
|
|
|
|
|