]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - htaccess.sample
before and after are switched, pass QSA in some rewrite rules
[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
6 RewriteRule ^doc/about$ index.php?action=doc&title=about [L,QSA]
7 RewriteRule ^doc/help$ index.php?action=doc&title=help [L,QSA]
8 RewriteRule ^doc/privacy$ index.php?action=doc&title=privacy [L,QSA]
9 RewriteRule ^doc/source$ index.php?action=doc&title=source [L,QSA]
10
11 RewriteRule ^main/login$ index.php?action=login [L,QSA]
12 RewriteRule ^main/logout$ index.php?action=logout [L,QSA]
13 RewriteRule ^main/register$ index.php?action=register [L,QSA]
14
15 RewriteRule ^main/subscribe$ index.php?action=subscribe [L,QSA]
16 RewriteRule ^main/unsubscribe$ index.php?action=unsubscribe [L,QSA]
17
18 RewriteRule ^settings/avatar$ index.php?action=avatar [L,QSA]
19 RewriteRule ^settings/password$ index.php?action=password [L,QSA]
20 RewriteRule ^settings/profile$ index.php?action=profilesettings [L,QSA]
21
22 RewriteRule ^notice/new$ index.php?action=newnotice [L,QSA]
23 RewriteRule ^notice/(\d+)$ index.php?action=shownotice&notice=$1 [L,QSA]
24
25 RewriteRule ^(\w+)/subscriptions$ index.php?action=subscriptions&nickname=$1 [L,QSA]
26 RewriteRule ^(\w+)/subscribed$ index.php?action=subscribed&nickname=$1 [L,QSA]
27 RewriteRule ^(\w+)/xrds$ index.php?action=xrds&nickname=$1 [L,QSA]
28 RewriteRule ^(\w+)/rss$ index.php?action=userrss&nickname=$1 [L,QSA]
29 RewriteRule ^(\w+)/all$ index.php?action=all&nickname=$1 [L,QSA]
30 RewriteRule ^(\w+)/all/rss$ index.php?action=allrss&nickname=$1 [L,QSA]
31 RewriteRule ^(\w+)/foaf$ index.php?action=foaf&nickname=$1 [L,QSA]
32
33 RewriteRule ^(\w+)$ index.php?action=showstream&nickname=$1 [L,QSA]