-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
38 lines (28 loc) · 1.71 KB
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
RewriteEngine on
# Fix the following line in the installer
RewriteBase /smob/
RewriteRule ^post/(.*)$ index.php?t=post&u=$1 [L,QSA]
RewriteRule ^user/(.*)$ index.php?t=user&u=$1 [L,QSA]
RewriteRule ^me$ index.php?t=user [L,QSA]
RewriteRule ^map$ index.php?t=map [L,QSA]
RewriteRule ^replies$ index.php?t=userReplies [L,QSA]
RewriteRule ^replies/(.*)$ index.php?t=replies&u=$1 [L,QSA]
RewriteRule ^resource/(.*)$ index.php?t=resource&u=$1 [L,QSA]
RewriteRule ^data/(.*)$ index.php?t=data&u=$1 [L,QSA]
RewriteRule ^delete/(.*)$ index.php?t=delete&u=$1 [L,QSA]
RewriteRule ^followings$ index.php?t=followings [L,QSA]
RewriteRule ^followers$ index.php?t=followers [L,QSA]
RewriteRule ^add/following/(.*)$ index.php?a=add&t=following&u=$1 [L,QSA]
RewriteRule ^add/follower/(.*)$ index.php?a=add&t=follower&u=$1 [L,QSA]
RewriteRule ^ping/following/(.*)$ index.php?a=add&t=following&u=$1 [L,QSA]
RewriteRule ^ping/follower/(.*)$ index.php?a=add&t=follower&u=$1 [L,QSA]
RewriteRule ^ping/item/(.*)$ index.php?a=add&t=item&u=$1 [L,QSA]
RewriteRule ^me/rss$ index.php?t=rss_owner [L,QSA]
RewriteRule ^me/rssrdf$ index.php?t=rssrdf_owner [L,QSA]
RewriteRule ^remove/following/(.*)$ index.php?a=remove&t=following&u=$1 [L,QSA]
RewriteRule ^remove/follower/(.*)$ index.php?a=remove&t=follower&u=$1 [L,QSA]
RewriteRule ^sparql(.*)$ index.php?t=sparql [L,QSA]
RewriteRule ^callback(.*)$ index.php?t=callback [L,QSA]
RewriteRule ^callbackrdf(.*)$ index.php?t=callbackrdf [L,QSA]
RewriteRule ^feedrdf$ sparql?query=CONSTRUCT\%20\%7B\%20?s\%20?p\%20?o\%20.\%20\%7D\%20WHERE\%20\%7B\%20GRAPH\%20?g\%20\%7B\%20?s\%20?p\%20?o\%20.\%20\%7D\%7D
#RewriteRule ^select$ sparql?query=SELECT\%20*\%20WHERE\%20\%7BGRAPH\%20?g\%20\%7B\%20?s\%20?p\%20?o\%20.\%20\%7D\%7D