summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-06 14:20:44 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-06 14:20:44 -0400
commit27626c2e3fadb49cd71dde596701a406e514bee3 (patch)
tree149f29fb7f74723a56faf4afe7bfec0c18a26662
parent59db378c9304293c380778a1eb59ece5fbacb590 (diff)
start doing some fancy URLs
darcs-hash:20080606182044-84dde-1ef6f8b6edeaa2e9f3c28fd7dc1831e5d7381f26.gz
-rw-r--r--doc/URLS.txt3
-rw-r--r--htaccess.sample3
2 files changed, 5 insertions, 1 deletions
diff --git a/doc/URLS.txt b/doc/URLS.txt
index e275796fa..6d8c48349 100644
--- a/doc/URLS.txt
+++ b/doc/URLS.txt
@@ -3,12 +3,13 @@
/<username> profile and update feed
/<username>?page=2 profile and update feed
-/<username>/<number> individual notice
/<username>/subscriptions people user subscribes to
/<username>/subscribed people subscribing to user
/<username>/avatar avatar
/<username>/all self and friends
+/notice/<number> individual notice
+
/main/login login to site
/main/logout logout of site
/main/register register to site
diff --git a/htaccess.sample b/htaccess.sample
new file mode 100644
index 000000000..5583beae2
--- /dev/null
+++ b/htaccess.sample
@@ -0,0 +1,3 @@
+RewriteEngine On
+
+RewriteRule ^/notice/(.*)$ index.php?action=shownotice&notice=$1 [L,QSA]