]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
start doing some fancy URLs
authorEvan Prodromou <evan@prodromou.name>
Fri, 6 Jun 2008 18:20:44 +0000 (14:20 -0400)
committerEvan Prodromou <evan@prodromou.name>
Fri, 6 Jun 2008 18:20:44 +0000 (14:20 -0400)
darcs-hash:20080606182044-84dde-1ef6f8b6edeaa2e9f3c28fd7dc1831e5d7381f26.gz

doc/URLS.txt
htaccess.sample [new file with mode: 0644]

index e275796fa12f196b3e3b2bff0960e0088c0f7922..6d8c483494ac3b20020b51389a3829e5cad962b5 100644 (file)
@@ -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 (file)
index 0000000..5583bea
--- /dev/null
@@ -0,0 +1,3 @@
+RewriteEngine On
+
+RewriteRule ^/notice/(.*)$ index.php?action=shownotice&notice=$1 [L,QSA]