diff --git a/README.md b/README.md index 58e5bd6..2661184 100644 --- a/README.md +++ b/README.md @@ -38,13 +38,13 @@ To configure an apache server, add the following rewrite rules: RewriteEngine on RewriteBase / - RewriteRule ^api/(.+)$ api.php?_call=$1 [L] - RewriteRule ^(\.well-known/.*)$ /api.php?_call=$1 [L,END] + RewriteRule ^api/federator/(.+)$ federator.php?_call=$1 [L] + RewriteRule ^(\.well-known/.*)$ /federator.php?_call=$1 [L,END] 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. diff --git a/htdocs/api.php b/htdocs/federator.php similarity index 100% rename from htdocs/api.php rename to htdocs/federator.php