I want to provide a dev-environment on the production server for my Symfony 1.4 projects. Reasons:
- Allows me to get details of errors, etc.
- It happens very often that I get different output on the prod-server and on my private development server. This is due to different server configuration, php extensions and available data.
- Sometimes my client wants to see small changes quickly. I don't want to clear the cache until changes are available
- The most important point: I want to be dead certain that no "cache-magic" is going on when problems occur on the production server.
A bad idea would be to make /frontend_dev.php accessible for everyone.
Also, I can't use sfGuard, since the dev-environment must be accessible regardless of whether I'm logged in or not.
I'm running my projects on Apache 2. Maybe there is a solution using htaccess.
Any ideas?