News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Dave Dash's Blog:
symfony + mod_rewrite moving smoothly from development to production environments
August 15, 2007 @ 09:31:00

Dave Dash has shared his tips on moving things smoothly from your development to production environments when using symfony and the Apache mod_rewrite module.

I think a common problem for some symfony developers that aren't too familiar with Apache's Mod Rewrite is when they move from a development environment that uses an explicit controller (e.g. frontend_dev.php is requested from the server explicitly) to their production app which implicitly calls index.php (e.g. '/' or some other route is passed to index.php) things stop working.

To combat the situation is easy - it's a simple update to the .htaccess file default to symfony to add a LoadModule line to start up mod_rewrite.

1 comment voice your opinion now!
symfony production development environment modrewrite symfony production development environment modrewrite


blog comments powered by Disqus

Similar Posts

Derick Rethans' Blog: PHP Development Environment 2.0

VG Tech Blog: How I Set Up My Local PHP Dev Environment on Mac OSX Yosemite in Three Easy Steps

Vidyut Luther\'s Blog: \"Where do you \'define\' your environment variables\" ...update/workaround/s

Symfony Blog: New in Symfony 2.3: Small things matter

Francois Zaninotto's Blog: Validating a YAML file against a schema in PHP


Community Events

Don't see your event here?
Let us know!


unittest podcast version language library voicesoftheelephpant install series interview introduction release example extension xdebug laravel opinion api framework php7 community

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework