aboutsummaryrefslogtreecommitdiff
path: root/htaccess.sample
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-01-21 02:45:37 -0500
committerEvan Prodromou <evan@controlyourself.ca>2009-01-21 02:45:37 -0500
commit0ab9c222682de39dab3c760673fc8f5a0bd8b854 (patch)
tree9d9bfddfbed7fe0e02dfc7b7619f73fbc1cf353c /htaccess.sample
parentaf554abcbc146bb44ba9783ac212fc537177442a (diff)
downloadgnu-social-0ab9c222682de39dab3c760673fc8f5a0bd8b854.tar
gnu-social-0ab9c222682de39dab3c760673fc8f5a0bd8b854.zip
Some more group URLs
Diffstat (limited to 'htaccess.sample')
-rw-r--r--htaccess.sample4
1 files changed, 3 insertions, 1 deletions
diff --git a/htaccess.sample b/htaccess.sample
index 3406554d01..caf44bab8e 100644
--- a/htaccess.sample
+++ b/htaccess.sample
@@ -90,8 +90,9 @@ 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/([a-zA-Z0-9]+)/members index.php?action=groupmembers&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]
+RewriteRule ^group/([a-zA-Z0-9]+)/rss index.php?action=grouprss&nickname=$1 [L,QSA]
# Twitter-compatible API rewrites
# XXX: Surely these can be refactored a little -- Zach
@@ -153,6 +154,7 @@ RewriteRule ^(\w+)/favorites/rss$ index.php?action=favoritesrss&nickname=$1 [L,Q
RewriteRule ^(\w+)/inbox$ index.php?action=inbox&nickname=$1 [L,QSA]
RewriteRule ^(\w+)/outbox$ index.php?action=outbox&nickname=$1 [L,QSA]
RewriteRule ^(\w+)/microsummary$ index.php?action=microsummary&nickname=$1 [L,QSA]
+RewriteRule ^(\w+)/groups$ index.php?action=usergroups&nickname=$1 [L,QSA]
RewriteRule ^(\w+)$ index.php?action=showstream&nickname=$1 [L,QSA]