summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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]