renamed file to avoid name conflicts

develop
Sascha Nitsch 2024-07-22 15:40:16 +02:00
parent 47f82afcb5
commit 073fba5312
2 changed files with 3 additions and 3 deletions

View File

@ -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.