summaryrefslogtreecommitdiff
path: root/htaccess.sample
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-11 02:00:45 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-11 02:00:45 -0400
commit69445a6179eaf8d9473b21d13a0fda9827c28bd4 (patch)
tree0184bfc7a4f6c9d31a4cbf939c2777e79bd8beba /htaccess.sample
parent9b5e6de1f4f897b7d83cd76480ed0f4bf2b1edf3 (diff)
get avatar by nickname
This is to support third-party apps that want to build an URL to an avatar given a user's name. darcs-hash:20080711060045-84dde-08b0072de764d5b67ce7abe73fa0553f32de4ab3.gz
Diffstat (limited to 'htaccess.sample')
-rw-r--r--htaccess.sample1
1 files changed, 1 insertions, 0 deletions
diff --git a/htaccess.sample b/htaccess.sample
index 8c9e16c47..c0ba80f5d 100644
--- a/htaccess.sample
+++ b/htaccess.sample
@@ -51,5 +51,6 @@ RewriteRule ^(\w+)/all/rss$ index.php?action=allrss&nickname=$1 [L,QSA]
RewriteRule ^(\w+)/foaf$ index.php?action=foaf&nickname=$1 [L,QSA]
RewriteRule ^(\w+)/replies$ index.php?action=replies&nickname=$1 [L,QSA]
RewriteRule ^(\w+)/replies/rss$ index.php?action=repliesrss&nickname=$1 [L,QSA]
+RewriteRule ^(\w+)/avatar/(original|96|48|24)$ index.php?action=avatarbynickname&nickname=$1&size=$2 [L,QSA]
RewriteRule ^(\w+)$ index.php?action=showstream&nickname=$1 [L,QSA]