diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-06-20 03:17:00 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-06-20 03:17:00 -0400 |
commit | 15a09c5d694f720ef50f9c82860193545233bcf1 (patch) | |
tree | 3a8383fa79071b4fd61c31e00f0aae66d49988b9 /htaccess.sample | |
parent | 03dba4270a6f4fe53582d1cce9d6c713cdcaa115 (diff) |
change from using tag uris to http urls for identifiers
Weirdly, I got in an argument with Tim Berners-Lee in #swig about the
tag URIs I was using in FOAF documents. Eventually, I was convinced
that it's a better thing to use HTTP URLs instead. So, now we have
HTTP URLs.
The tricky thing was for users. Since they can change their names, we
can't use their profile URL, since it includes the name. Instead, I
made up a new action, which simply redirects from a user ID to their
current profile URL. This should be sufficiently long-term.
darcs-hash:20080620071700-84dde-c6145243dc45dd2dff621aff421375d05796057e.gz
Diffstat (limited to 'htaccess.sample')
-rw-r--r-- | htaccess.sample | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/htaccess.sample b/htaccess.sample index cd8ba1003..41ae878c6 100644 --- a/htaccess.sample +++ b/htaccess.sample @@ -27,6 +27,8 @@ RewriteRule ^settings/openid$ index.php?action=openidsettings [L,QSA] RewriteRule ^notice/new$ index.php?action=newnotice [L,QSA] RewriteRule ^notice/(\d+)$ index.php?action=shownotice¬ice=$1 [L,QSA] +RewriteRule ^user/(\d+)$ index.php?action=userbyid&id=$1 [L,QSA] + RewriteRule ^(\w+)/subscriptions$ index.php?action=subscriptions&nickname=$1 [L,QSA] RewriteRule ^(\w+)/subscribers$ index.php?action=subscribers&nickname=$1 [L,QSA] RewriteRule ^(\w+)/xrds$ index.php?action=xrds&nickname=$1 [L,QSA] |