X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=htaccess.sample;h=1a833048842a4aa6633d69544b8d4ffca7d57bd1;hb=4f3d1e93e97365deac2366bfe422e8301d773a25;hp=30f1bb5318296fb38dafca5b5660d8cc25101e18;hpb=a8a36677748b304faf20742598b90f3d9634f393;p=quix0rs-gnu-social.git diff --git a/htaccess.sample b/htaccess.sample index 30f1bb5318..1a83304884 100644 --- a/htaccess.sample +++ b/htaccess.sample @@ -38,13 +38,15 @@ RewriteRule ^main/invite$ index.php?action=invite [L,QSA] RewriteRule ^main/favor$ index.php?action=favor [L,QSA] RewriteRule ^main/disfavor$ index.php?action=disfavor [L,QSA] -RewriteRule ^settings/avatar$ index.php?action=avatar [L,QSA] -RewriteRule ^settings/password$ index.php?action=password [L,QSA] +RewriteRule ^main/sup$ index.php?action=sup [L,QSA] + RewriteRule ^settings/profile$ index.php?action=profilesettings [L,QSA] RewriteRule ^settings/openid$ index.php?action=openidsettings [L,QSA] RewriteRule ^settings/im$ index.php?action=imsettings [L,QSA] RewriteRule ^settings/email$ index.php?action=emailsettings [L,QSA] RewriteRule ^settings/sms$ index.php?action=smssettings [L,QSA] +RewriteRule ^settings/twitter$ index.php?action=twittersettings [L,QSA] +RewriteRule ^settings/other$ index.php?action=othersettings [L,QSA] RewriteRule ^search/people$ index.php?action=peoplesearch [L,QSA] RewriteRule ^search/notice$ index.php?action=noticesearch [L,QSA] @@ -55,9 +57,13 @@ RewriteRule ^notice/(\d+)$ index.php?action=shownotice¬ice=$1 [L,QSA] RewriteRule ^notice/delete/((\d+))?$ index.php?action=deletenotice¬ice=$2 [L,QSA] RewriteRule ^notice/delete$ index.php?action=deletenotice [L,QSA] +RewriteRule ^message/new$ index.php?action=newmessage [L,QSA] +RewriteRule ^message/(\d+)$ index.php?action=showmessage&message=$1 [L,QSA] + RewriteRule ^user/(\d+)$ index.php?action=userbyid&id=$1 [L,QSA] RewriteRule ^tags/?$ index.php?action=tag [L,QSA] +RewriteRule ^tag/([a-zA-Z0-9]+)/rss$ index.php?action=tagrss&tag=$1 [L,QSA] RewriteRule ^tag(/(.*))?$ index.php?action=tag&tag=$2 [L,QSA] RewriteRule ^(\w+)/subscriptions$ index.php?action=subscriptions&nickname=$1 [L,QSA] @@ -71,6 +77,9 @@ RewriteRule ^(\w+)/replies$ index.php?action=replies&nickname=$1 [L,QSA] RewriteRule ^(\w+)/replies/rss$ index.php?action=repliesrss&nickname=$1 [L,QSA] RewriteRule ^(\w+)/avatar/(original|96|48|24)$ index.php?action=avatarbynickname&nickname=$1&size=$2 [L,QSA] RewriteRule ^(\w+)/favorites$ index.php?action=showfavorites&nickname=$1 [L,QSA] +RewriteRule ^(\w+)/favorites/rss$ index.php?action=favoritesrss&nickname=$1 [L,QSA] +RewriteRule ^(\w+)/inbox$ index.php?action=inbox&nickname=$1 [L,QSA] +RewriteRule ^(\w+)/outbox$ index.php?action=outbox&nickname=$1 [L,QSA] RewriteRule ^(\w+)$ index.php?action=showstream&nickname=$1 [L,QSA] @@ -105,6 +114,7 @@ RewriteRule ^api/account/update_delivery_device(.*)$ index.php?action=api&apiact RewriteRule ^api/account/rate_limit_status(.*)$ index.php?action=api&apiaction=account&method=rate_limit_status$1 [L,QSA] RewriteRule ^api/favorites/create/(.*)$ index.php?action=api&apiaction=favorites&method=create&argument=$1 [L,QSA] RewriteRule ^api/favorites/destroy/(.*)$ index.php?action=api&apiaction=favorites&method=destroy&argument=$1 [L,QSA] +RewriteRule ^api/favorites/(.*)$ index.php?action=api&apiaction=favorites&method=favorites&argument=$1 [L,QSA] RewriteRule ^api/favorites(.*)$ index.php?action=api&apiaction=favorites&method=favorites$1 [L,QSA] RewriteRule ^api/notifications/follow/(.*)$ index.php?action=api&apiaction=notifications&method=follow&argument=$1 [L,QSA] RewriteRule ^api/notifications/leave/(.*)$ index.php?action=api&apiaction=notifications&method=leave&argument=$1 [L,QSA]