Search code examples
symfonysymfony-routing

Symfony4 - 404 with routes of vendors bundles


I am testing Symfony 4 in a docker container.

The default symfony app works well, but I have some issues with routing I have installed profiler and easyAdmin, but it seems routing of those bundles are note working in my case.

However, when the command php bin/console debug:router return : enter image description here

Neither the admin or profiler url are working, both are 404

Thanks,


Solution

  • It seems the problem was the missing .htaccess file, in the public folder.

    I copy/paste and adpat the one from symfony 3.4, mainly by replacing app_ by index