I am developing a small application using Symfony2. I can access all routes without problems in my dev environment:
http: //symfony/app_dev.php/cp ("symfony" is in my hosts file for localhost permission)
However, as soon as I try to access it in a production environment, I just get a 404 error page:
http: //symfony/app.php/cp
Oops! An error has occurred. The server returned "404 Not Found." Something broke. Send us an email and let us know what you did when this error occurred. We will fix it as soon as possible. Sorry for the inconvenience.
Is there something I need to change / do before I can view my application in production? I did not mess up any of the main files (kernel / bootstrap / app files, etc.). I am using Release Candidate 3.
symfony production-environment production dev-to-production
Jeremy hicks
source share