X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=htaccess.sample;h=e816804005553b65115c1777d28b721165e26d5e;hb=2dc50d7e3768548c78f095903388d53a5bee373f;hp=21c12f2eb5b9953e7204b04081d0f4ff98f15720;hpb=060fecf5ec59202c5eaf3448f9723a81820d5735;p=quix0rs-gnu-social.git diff --git a/htaccess.sample b/htaccess.sample index 21c12f2eb5..e816804005 100644 --- a/htaccess.sample +++ b/htaccess.sample @@ -3,6 +3,8 @@ RewriteEngine On RewriteRule ^$ index.php?action=public [L,QSA] RewriteRule ^rss$ index.php?action=publicrss [L,QSA] RewriteRule ^xrds$ index.php?action=publicxrds [L,QSA] +RewriteRule ^opensearch/people$ index.php?action=opensearch&type=people [L,QSA] +RewriteRule ^opensearch/notice$ index.php?action=opensearch&type=notice [L,QSA] RewriteRule ^doc/about$ index.php?action=doc&title=about [L,QSA] RewriteRule ^doc/contact$ index.php?action=doc&title=contact [L,QSA] @@ -41,7 +43,8 @@ RewriteRule ^search/notice/rss$ index.php?action=noticesearchrss [L,QSA] RewriteRule ^notice/new$ index.php?action=newnotice [L,QSA] RewriteRule ^notice/(\d+)$ index.php?action=shownotice¬ice=$1 [L,QSA] -RewriteRule ^deletenotice/((\d+))?$ index.php?action=deletenotice¬ice=$2 [L,QSA] +RewriteRule ^notice/delete/((\d+))?$ index.php?action=deletenotice¬ice=$2 [L,QSA] +RewriteRule ^notice/delete$ index.php?action=deletenotice [L,QSA] RewriteRule ^user/(\d+)$ index.php?action=userbyid&id=$1 [L,QSA] @@ -76,6 +79,8 @@ RewriteRule ^api/statuses/friends(.*)$ index.php?action=api&apiaction=statuses&m RewriteRule ^api/statuses/followers/(.*)$ index.php?action=api&apiaction=statuses&method=followers&argument=$1 [L,QSA] RewriteRule ^api/statuses/followers(.*)$ index.php?action=api&apiaction=statuses&method=followers$1 [L,QSA] RewriteRule ^api/statuses/featured(.*)$ index.php?action=api&apiaction=statuses&method=featured$1 [L,QSA] +RewriteRule ^api/users/show/(.*)$ index.php?action=api&apiaction=users&method=show&argument=$1 [L,QSA] +RewriteRule ^api/users/show(.*)$ index.php?action=api&apiaction=users&method=show$1 [L,QSA] RewriteRule ^api/direct_messages/sent(.*)$ index.php?action=api&apiaction=direct_messages&method=sent$1 [L,QSA] RewriteRule ^api/direct_messages/destroy/(.*)$ index.php?action=api&apiaction=direct_messages&method=destroy&argument=$1 [L,QSA] RewriteRule ^api/direct_messages/new(.*)$ index.php?action=api&apiaction=direct_messages&method=create$1 [L,QSA]