Re: lighttpd + fastcgi + camping

2012-04-06 Thread Jenna Fox
Camping is a rack app. Check out the rack docs for info on how to mount it as any kind of server interface. — Jenna Fox On Saturday, 7 April 2012 at 1:26 AM, david costa wrote: > Hello all, > I am running in some little stumbling blocks with passenger as a multi user > environment (the mos

lighttpd + fastcgi + camping

2012-04-06 Thread david costa
Hello all, I am running in some little stumbling blocks with passenger as a multi user environment (the most problematic feature is that, once you setup a sub-domain passenger wants you to declare on nginx every app running on that nginx server which is not ideal to add apps on the fly and / or if

Re: http_referrer

2012-04-06 Thread Magnus Holm
It should be in @env: @env['HTTP_REFERER'] (Note that it's misspelled in the spec) // Magnus Holm On Friday 6. April 2012 at 15:01, Nokan Emiro wrote: > Hi, > > How can I access the Rack request object in a controller? I need > to know the HTTP_REFERRER, but I can't find it in env. (I'm

Re: http_referrer

2012-04-06 Thread Magnus Holm
Try @request. // Magnus Holm On Friday 6. April 2012 at 16:27, Nokan Emiro wrote: > I'm sorry bothering you, it was there in env, env['HTTP_REFERER']. > > (But it still would be useful sometimes to access the Rack's Request > object...) > > > > On Fri, Apr 6, 2012 at 3:01 PM, Nokan Emiro

Re: http_referrer

2012-04-06 Thread Nokan Emiro
I'm sorry bothering you, it was there in env, env['HTTP_REFERER']. (But it still would be useful sometimes to access the Rack's Request object...) On Fri, Apr 6, 2012 at 3:01 PM, Nokan Emiro wrote: > Hi, > > How can I access the Rack request object in a controller? I need > to know the HTTP_

http_referrer

2012-04-06 Thread Nokan Emiro
Hi, How can I access the Rack request object in a controller? I need to know the HTTP_REFERRER, but I can't find it in env. (I'm sure I need glasses, or have to sleep more...) ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.or