3

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,

MatMouth
  • 858
  • 2
  • 7
  • 24
  • - I do not have a .htaccess in my public folder. - The error seems to be sent by apache, not by symfony, but the symfony favicon is here. – MatMouth Nov 20 '17 at 10:50

1 Answers1

2

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

MatMouth
  • 858
  • 2
  • 7
  • 24
  • Server configuration can easily be found in the official documentation : https://symfony.com/doc/master/setup/web_server_configuration.html – MatMouth Nov 21 '17 at 15:11