sure I was just explaining that was not fcgi :) BTW I am making some good progress with the on the fly deployment. I have found an apparently good security solution to allow users to deploy their app without major problems and at the same time not compromise other users/the server. More testing this week.
On Mon, Apr 16, 2012 at 2:13 AM, Jenna Fox <a...@creativepony.com> wrote: > O_o > > I think the extra character is worth it. > > — > Jenna > > On Monday, 16 April 2012 at 9:40 AM, david costa wrote: > > Ah well the is not on fcgi but passenger :) > I would say that most of the serious ruby/rails hosting now offer > passenger as an option so shouldn't limit your application portability. > > On Sun, Apr 15, 2012 at 11:41 PM, Dave Everitt <dever...@innotts.co.uk>wrote: > > Understood about compatible - this is David's Camping server, and I'm > experimenting with QUERY_STRING in the URL and various other env vars - > DaveE > > > On Sat, Apr 14, 2012 at 10:38, Dave Everitt <dever...@innotts.co.uk> > wrote: > > Haha! How did you get Spock on board... :-) > > I must admit I'm a little confused about the sytnax for environmental > variables, because as well as > @env[HTTP_REFERER] > this also works: > ENV['SCRIPT_NAME'] > > For a test I just used it like this: > ENV['SCRIPT_NAME'].scan(/\w+\.**\w+$/) > to get the Camping file's name (with whatever file extension rb, rbx, > cgi) instead of using __FILE__ > > > The only reason ENV['HTTP_REFERER'] works for you is that you deploy > on (Fast)CGI. You should only depend on @env if you want your app to > be compatible with other servers. > ______________________________**_________________ > Camping-list mailing list > Camping-list@rubyforge.org > http://rubyforge.org/mailman/**listinfo/camping-list<http://rubyforge.org/mailman/listinfo/camping-list> > > > ______________________________**_________________ > Camping-list mailing list > Camping-list@rubyforge.org > http://rubyforge.org/mailman/**listinfo/camping-list<http://rubyforge.org/mailman/listinfo/camping-list> > > > _______________________________________________ > Camping-list mailing list > Camping-list@rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list > > > > _______________________________________________ > Camping-list mailing list > Camping-list@rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list >
_______________________________________________ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list