http://www.modrails.com/documentation/Users%20guide.html#rails_env

??

R

Tim Uckun wrote:
> I am having some difficulty with trying to make passenger work.
>
> I have three sites.
>
> Two of them are supposed to run as production and one is supposed to
> run as "staging".
>
> I used to have the RailsEnv variable set to production in my module
> conf file. I removed it from there and put it in the virtualhost
> setting for the web sites.
>
> For the last site I set the RailsEnv to be 'staging'.  The problem is
> that passenger wants to run all the sites as staging (the last
> RailsEnv processed). I can move the order of the virtualhosts and sure
> enough passenger just uses the last RailsEnv in the file.
>
> There must be a way to set different environments for different
> virtual domains right?
>
> >
>
>   

-- 
Phone (04) 381 4827 or 021 823 129
Skype rimu123
MSN [EMAIL PROTECTED]
ICQ 60417596
Yahoo rimu_atkinson
http://rimu.geek.nz/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"WellRailed" 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/WellRailed?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to