]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - htaccess.sample
fancy url for remote subscribe
[quix0rs-gnu-social.git] / htaccess.sample
1 RewriteEngine On
2
3 RewriteRule ^$ index.php?action=public [L,QSA]
4 RewriteRule ^rss$ index.php?action=publicrss [L,QSA]
5 RewriteRule ^xrds$ index.php?action=publicxrds [L,QSA]
6
7 RewriteRule ^doc/about$ index.php?action=doc&title=about [L,QSA]
8 RewriteRule ^doc/faq$ index.php?action=doc&title=faq [L,QSA]
9 RewriteRule ^doc/help$ index.php?action=doc&title=help [L,QSA]
10 RewriteRule ^doc/im$ index.php?action=doc&title=im [L,QSA]
11 RewriteRule ^doc/privacy$ index.php?action=doc&title=privacy [L,QSA]
12 RewriteRule ^doc/source$ index.php?action=doc&title=source [L,QSA]
13
14 RewriteRule ^main/login$ index.php?action=login [L,QSA]
15 RewriteRule ^main/logout$ index.php?action=logout [L,QSA]
16 RewriteRule ^main/register$ index.php?action=register [L,QSA]
17 RewriteRule ^main/openid$ index.php?action=openidlogin [L,QSA]
18 RewriteRule ^main/remote$ index.php?action=remotesubscribe [L,QSA]
19
20 RewriteRule ^main/subscribe$ index.php?action=subscribe [L,QSA]
21 RewriteRule ^main/unsubscribe$ index.php?action=unsubscribe [L,QSA]
22 RewriteRule ^main/confirmaddress$ index.php?action=confirmaddress [L,QSA]
23 RewriteRule ^main/confirmaddress/(.*)$ index.php?action=confirmaddress&code=$1 [L,QSA]
24 RewriteRule ^main/recoverpassword$ index.php?action=recoverpassword [L,QSA]
25 RewriteRule ^main/recoverpassword/(.*)$ index.php?action=recoverpassword&code=$1 [L,QSA]
26
27 RewriteRule ^settings/avatar$ index.php?action=avatar [L,QSA]
28 RewriteRule ^settings/password$ index.php?action=password [L,QSA]
29 RewriteRule ^settings/profile$ index.php?action=profilesettings [L,QSA]
30 RewriteRule ^settings/openid$ index.php?action=openidsettings [L,QSA]
31 RewriteRule ^settings/im$ index.php?action=imsettings [L,QSA]
32
33 RewriteRule ^notice/new$ index.php?action=newnotice [L,QSA]
34 RewriteRule ^notice/(\d+)$ index.php?action=shownotice&notice=$1 [L,QSA]
35
36 RewriteRule ^user/(\d+)$ index.php?action=userbyid&id=$1 [L,QSA]
37
38 RewriteRule ^(\w+)/subscriptions$ index.php?action=subscriptions&nickname=$1 [L,QSA]
39 RewriteRule ^(\w+)/subscribers$ index.php?action=subscribers&nickname=$1 [L,QSA]
40 RewriteRule ^(\w+)/xrds$ index.php?action=xrds&nickname=$1 [L,QSA]
41 RewriteRule ^(\w+)/rss$ index.php?action=userrss&nickname=$1 [L,QSA]
42 RewriteRule ^(\w+)/all$ index.php?action=all&nickname=$1 [L,QSA]
43 RewriteRule ^(\w+)/all/rss$ index.php?action=allrss&nickname=$1 [L,QSA]
44 RewriteRule ^(\w+)/foaf$ index.php?action=foaf&nickname=$1 [L,QSA]
45
46 RewriteRule ^(\w+)$ index.php?action=showstream&nickname=$1 [L,QSA]