Closed x821938 closed 10 months ago
How would you adjust the .htaccess to make the skeleton work in a subdirectory? I am writing an API wich resides in /var/www/api It should be accessed by going to https://www.example.com/api
In this case the Slim basePath must be set to /api.
/api
$app->setBasePath('/api');
Thanks a lot :) Now everything is working.
How would you adjust the .htaccess to make the skeleton work in a subdirectory? I am writing an API wich resides in /var/www/api It should be accessed by going to https://www.example.com/api