Skip to content

Commit

Permalink
minor #5073 [Cookbook] Add note about possible 404 error on Heroku (b…
Browse files Browse the repository at this point in the history
…icpi)

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
  • Loading branch information
weaverryan committed Apr 3, 2015
2 parents 70afa2b + 1af3913 commit 7f39e87
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cookbook/deployment/heroku.rst
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,14 @@ application will respond:
You should be seeing your Symfony application in your browser.

.. caution::

If you take your first steps on Heroku using a fresh installation of
the Symfony Standard Edition, you may run into a 404 page not found error.
This is because the route for ``/`` is defined by the AcmeDemoBundle, but the
AcmeDemoBundle is only loaded in the dev environment (check out your
``AppKernel`` class). Try opening ``/app/example`` from the AppBundle.

.. _`the original article`: https://devcenter.heroku.com/articles/getting-started-with-symfony2
.. _`signup with Heroku`: https://signup.heroku.com/signup/dc
.. _`Heroku Toolbelt`: https://devcenter.heroku.com/articles/getting-started-with-php#local-workstation-setup
Expand Down

0 comments on commit 7f39e87

Please sign in to comment.