Hello,
I’ve got 8.4 up & running and can even use the v8 JSON API via:
/legacy/Api/access_token
Via .htaccess rules I was trying to remove /legacy from the requests, but I had no luck.
public/.htaccess seems to contain nothing about Api
public/legacy/.htaccess contains:
RewriteRule ^Api/(.*)$ - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule ^Api/access_token$ Api/index.php [L]
RewriteRule ^Api/V8/(.*?)$ Api/index.php [L]
I thought I’d need to comment those out and paste them into /public/.htaccess in a modified way:
RewriteRule ^Api/(.*)$ - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule ^Api/access_token$ legacy/Api/index.php [L]
RewriteRule ^Api/V8/(.*?)$ legacy/Api/index.php [L]
But that doesn’t work.
How can I make it work?