summaryrefslogtreecommitdiff
path: root/htaccess.sample
diff options
context:
space:
mode:
authorzach <zach@copley.name>2008-07-17 01:44:11 -0400
committerzach <zach@copley.name>2008-07-17 01:44:11 -0400
commitb5659ed85a31093d0e7f6cb58abdaa8410a7a2a6 (patch)
treeefe3a9e5c2dae295db9f986a95dbcb259d0f7eec /htaccess.sample
parent1f7e5ca8f30cabbe04f439f41ef7624d124111ab (diff)
Twitter-compatible API - /statuses/show and /statuses/update now work
darcs-hash:20080717054411-ca946-e839882ebec3f6d6a12a3f5ecdc1cc403e8afe51.gz
Diffstat (limited to 'htaccess.sample')
-rw-r--r--htaccess.sample2
1 files changed, 1 insertions, 1 deletions
diff --git a/htaccess.sample b/htaccess.sample
index 4ee0d6212..da1355c06 100644
--- a/htaccess.sample
+++ b/htaccess.sample
@@ -62,7 +62,7 @@ RewriteRule ^api/statuses/public_timeline(.*)$ index.php?action=api&apiaction=st
RewriteRule ^api/statuses/friends_timeline(.*)$ index.php?action=api&apiaction=statuses&method=friends_timeline$1 [L,QSA]
RewriteRule ^api/statuses/user_timeline(.*)$ index.php?action=api&apiaction=statuses&method=user_timeline$1 [L,QSA]
RewriteRule ^api/statuses/show/(.*)$ index.php?action=api&apiaction=statuses&method=show&argument=$1 [L,QSA]
-RewriteRule ^api/statuses/update/(.*)$ index.php?action=api&apiaction=statuses&method=update&argument=$1 [L,QSA]
+RewriteRule ^api/statuses/update(.*)$ index.php?action=api&apiaction=statuses&method=update$1 [L,QSA]
RewriteRule ^api/statuses/replies/(.*)$ index.php?action=api&apiaction=statuses&method=replies&argument=$1 [L,QSA]
RewriteRule ^api/statuses/destroy/(.*)$ index.php?action=api&apiaction=statuses&method=destroy&argument=$1 [L,QSA]
RewriteRule ^api/statuses/friends(.*)$ index.php?action=api&apiaction=statuses&method=friends$1 [L,QSA]