On 08 Oct 2007, at 15:24, Kris Wallsmith wrote: > The accompanying VirtualHost block for my development environment > looks like this ... > > <VirtualHost *:80>
.. snip .. > SetEnv SF_APP frontend > SetEnv SF_ENVIRONMENT dev > SetEnv SF_DEBUG 1 > > </VirtualHost> > > I should credit Chris Peery at Infernal Machinery for the SetEnv > solution. Also, I believe Dave Dash suggested moving the mod_rewrite > configuration to the VirtualHost block in a blog post at some point. Hey Kris, I've just tried this because I really like the approach. I've one thought and one question: I think SF_APP would better be set in the controller, so it remains possible to have multiple applications in a project - and thus one controller per application. With the setup above, each project is limited to one application, unless I'm mistaken. Also I discovered that all environments will need to have 'no_script_name' set to 'on'. Is this correct? Or did I miss something else? I'll add this to the wiki if needed. Thanks! Alexander --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en -~----------~----~----~----~------~----~------~--~---
