79193618

Date: 2024-11-15 18:53:46
Score: 0.5
Natty:
Report link

The problem also occurs with Symfony 7.

The solution is to install the

apache-pack https://packagist.org/packages/symfony/apache-pack

from Symfony.

It adds an .htaccess file to the public directory, which then takes over the redirects for the profiler paths. You can also use the dynamic asset mapping of the AssetMapper without having to compile the assets with it. Of course, this should only be used in the dev system.

Reasons:
  • Whitelisted phrase (-1): solution is
  • No code block (0.5):
  • Low reputation (1):
Posted by: Stephan