Skip to content

Commit 7f39e87

Browse files
committed
minor #5073 [Cookbook] Add note about possible 404 error on Heroku (bicpi)
This PR was merged into the 2.3 branch. Discussion ---------- [Cookbook] Add note about possible 404 error on Heroku | Q | A | ------------- | --- | Doc fix? | no | New docs? | no | Applies to | all | Fixed tickets | - I was running into this 404 and thought something went wrong with the doc root setting first. Commits ------- 1af3913 [Cookbook] Add note about possible 404 error
2 parents 70afa2b + 1af3913 commit 7f39e87

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

cookbook/deployment/heroku.rst

+8
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,14 @@ application will respond:
220220
221221
You should be seeing your Symfony application in your browser.
222222

223+
.. caution::
224+
225+
If you take your first steps on Heroku using a fresh installation of
226+
the Symfony Standard Edition, you may run into a 404 page not found error.
227+
This is because the route for ``/`` is defined by the AcmeDemoBundle, but the
228+
AcmeDemoBundle is only loaded in the dev environment (check out your
229+
``AppKernel`` class). Try opening ``/app/example`` from the AppBundle.
230+
223231
.. _`the original article`: https://devcenter.heroku.com/articles/getting-started-with-symfony2
224232
.. _`signup with Heroku`: https://signup.heroku.com/signup/dc
225233
.. _`Heroku Toolbelt`: https://devcenter.heroku.com/articles/getting-started-with-php#local-workstation-setup

0 commit comments

Comments
 (0)