search for: http_x_your_env

Displaying 1 result from an estimated 1 matches for "http_x_your_env".

2006 Aug 04
0
Re: Passing env var from Apache to Mongrel
...u should be able to access it directly using "request". However, if your env var is dynamicly set, you can try my way. I use mod_rewrite to proxy to Mongrel. In your httpd.conf (you need mod_header) RequestHeader set X_YOUR_ENV your_value And in Rails access it by request.env["HTTP_X_YOUR_ENV"] Hope it helps, Kevin On 8/4/06, Yan Sarazin <ysarazin@greenlightmedia.ca> wrote: > Hi Kevin, > > I found a thread you started regarding Passing an env variable from Apache > to Mongrel using RequestHeader. I was able to pass a variable I created > with a string, howeve...