Description
Under the 2 images in the "Working with Environments", we have some confusing part:
Of course, you won't want to show these tools when you deploy your application to
production. That's why you will find another front controller in the web/ directory
(app.php), which is optimized for the production environment:http://localhost/app.php/demo/hello/Fabien
And if you use Apache with mod_rewrite enabled, you can even omit the app.php part
of the URL:http://localhost/demo/hello/Fabien
Last but not least, on the production servers, you should point your web root directory
to the web/ directory to secure your installation and have an even better looking URL:http://localhost/demo/hello/Fabien
It confuses people that we use URLs which actually don't work, because the AcmeDemoBundle is only registered in the dev environment. This is explained in the next block, but a lot of people try it before reading further in the article. We could rephrase the first paragraph into something like: "if the routing were configured for production..."
This issue is created after some messages of roxton and adsc on #symfony, thanks to them!