renamed file to avoid name conflicts
parent
47f82afcb5
commit
073fba5312
|
@ -38,13 +38,13 @@ To configure an apache server, add the following rewrite rules:
|
||||||
<Directory /where/ever/you/put/it>
|
<Directory /where/ever/you/put/it>
|
||||||
RewriteEngine on
|
RewriteEngine on
|
||||||
RewriteBase /
|
RewriteBase /
|
||||||
RewriteRule ^api/(.+)$ api.php?_call=$1 [L]
|
RewriteRule ^api/federator/(.+)$ federator.php?_call=$1 [L]
|
||||||
RewriteRule ^(\.well-known/.*)$ /api.php?_call=$1 [L,END]
|
RewriteRule ^(\.well-known/.*)$ /federator.php?_call=$1 [L,END]
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
With the dummy plugin and everything installed correctly a
|
With the dummy plugin and everything installed correctly a
|
||||||
|
|
||||||
> curl -v http://localhost/api/v1/dummy/moo -H "X-Session: somethingvalid" -H "X-Profile: ihaveone"
|
> curl -v http://localhost/api/federator/v1/dummy/moo -H "X-Session: somethingvalid" -H "X-Profile: ihaveone"
|
||||||
|
|
||||||
should return a piece of ascii art.
|
should return a piece of ascii art.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue