What do you exactly mean by "setting environment variables" ? Are your sites
running according to them ?

On 2/6/07, ufuk kocolu <[EMAIL PROTECTED]> wrote:


I have a ror project which has been productized. There are several web
sites in one ror project

I need to set an "enviroment variable" to run different sites, can I do
that using mongrel? I tried to use mongrel's -S option and set the
enviroment variable in that file but it seems mongrel runs that file
after it calls enviroment.rb

I also used apache's mod_proxy+mod_header to set requestheader but it
didn't work either.

Is there a way to set an enviroment variable before mongrel initializes?

Thanks

Ufuk.


_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users




--

İnanç Gümüş
Yazılım Danışmanı / Software Consultant
+90555 701 74 27

--
---
hidden job market lurking everywhere
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to