Daniel Opitz
Daniel Opitz
I have tried it and I get an `Internal Server Error`. How do you configure it when you have placed the front controller in `public/index.php`? How do you handle routing...
A simple `GET / ` request seems to work. But as soon I try to return a HTTP redirect (302) to another URL like `docs/v1` it's not working anymore. `Internal...
I guess the problem is not the redirect. It's every route with more than one path in the route, e.g. `test/test2` or `api/v1`
The documentation just needs to be fixed. So we should remove this line: `?LoggerInterface $logger = null` from the example code. Instead of a callback function, an object should be...
I'm trying to add a Slim 4 tutorial [here](https://gist.github.com/odan/e416553873f6ae60e28ba96d6e0873e6), but it's not finished yet. In the meantime, we could offer a list of existing Slim 4 tutorials like: * https://odan.github.io/2019/11/05/slim4-tutorial.html...
What would be better? Option 1: I copy and "update" the existing Slim 3 tutorial to a Slim 4 tutorial. [Example](https://gist.github.com/odan/e416553873f6ae60e28ba96d6e0873e6) (Draft) Option 2: I copy my existing [Slim 4...
I can confirm that this issue exists in Slim 4.
The [simple solution](https://www.slimframework.com/docs/v4/cookbook/enable-cors.html#the-simple-solution) just doesn't work as expected. The problem is that adding a (options) catch-all route for all routes will breaks all other explicit defined routes. Also the Catch-all...
Can you show the code of your `HomeAction.php` file and the route definition?
Thank you. I think that makes sense. I have added some notes that need to be fixed.