summaryrefslogtreecommitdiff
path: root/htaccess.sample
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-01-21 00:38:33 -0500
committerEvan Prodromou <evan@controlyourself.ca>2009-01-21 00:38:33 -0500
commit97f14ef1f9c9a1151c149eb1e95646081918befb (patch)
tree79798d58f8d3070b5ff00b8e993e05a371d0873d /htaccess.sample
parentba287e9a0da6a12199bb0477229cbed2816fe6b6 (diff)
Define URLs for groups
Diffstat (limited to 'htaccess.sample')
-rw-r--r--htaccess.sample8
1 files changed, 8 insertions, 0 deletions
diff --git a/htaccess.sample b/htaccess.sample
index 8c8b2152a..3406554d0 100644
--- a/htaccess.sample
+++ b/htaccess.sample
@@ -85,6 +85,14 @@ RewriteRule ^peopletag/([a-zA-Z0-9]+)$ index.php?action=peopletag&tag=$1 [L,QSA]
RewriteRule ^featured/?$ index.php?action=featured [L,QSA]
RewriteRule ^favorited/?$ index.php?action=favorited [L,QSA]
+RewriteRule ^group/new index.php?action=newgroup [L,QSA]
+RewriteRule ^group/([a-zA-Z0-9]+) index.php?action=showgroup&nickname=$1 [L,QSA]
+RewriteRule ^group/([a-zA-Z0-9]+)/edit index.php?action=editgroup&nickname=$1 [L,QSA]
+RewriteRule ^group/([a-zA-Z0-9]+)/join index.php?action=joingroup&nickname=$1 [L,QSA]
+RewriteRule ^group/([a-zA-Z0-9]+)/leave index.php?action=leavegroup&nickname=$1 [L,QSA]
+RewriteRule ^group/([0-9]+)/id index.php?action=groupbyid&id=$1 [L,QSA]
+RewriteRule ^group/([0-9]+)/rss index.php?action=grouprss&id=$1 [L,QSA]
+
# Twitter-compatible API rewrites
# XXX: Surely these can be refactored a little -- Zach
RewriteRule ^api/statuses/public_timeline(.*)$ index.php?action=api&apiaction=statuses&method=public_timeline$1 [L,QSA]