Hi to all, I had been glad to see the announcement of the 0.11 version of Instiki and its integration with ActiveRecord. This new release makes me wonder if it is now possible to run Instiki with cgi or fastcgi. I tried to do so, but I didn''t manage to make it work. Thanks for all the work on this great app, Julien
Julien Barnier wrote:>I had been glad to see the announcement of the 0.11 version of >Instiki and its integration with ActiveRecord. This new release makes >me wonder if it is now possible to run Instiki with cgi or fastcgi. I >tried to do so, but I didn''t manage to make it work. > >Theoretically, yes. Madeleine backend forced Instiki to be a single process, but now it''s not there anymore. Practically, somebody have to try and make it work, which I haven''t done yet. It may involve patching relevant scripts in ./public. Alex
Hi,> Theoretically, yes. Madeleine backend forced Instiki to be a single > process, but now it''s not there anymore. > Practically, somebody have to try and make it work, which I haven''t done > yet. It may involve patching relevant scripts in ./public.Thanks fo this answer. In fact, I thought I didn''t manage to make it work, but when I tried again yesterday evening it seemed to be ok (I must had kill the fastcgi process and reset the session, I think). It is on a shared hosting (at Dreamhost). I can''t tell if it is really stable or fast (the first page viewed seems slow), but it works. I didn''t remember to touch something in the code. Just the public/.htaccess, maybe. If you want to test the result, you can see it at : http://dev.nozav.org/public/instiki Thanks, Julien
Woups,> http://dev.nozav.org/public/instikiSorry, the link is wrong (just reverse ''public'' and ''instiki''), and this morning I have a 500 error when I try to view a page. Well, it doesn''t seem to be that stable (for my installation at least). Sorry about the noise... -- Julien
Julien Barnier wrote:>Sorry, the link is wrong (just reverse ''public'' and ''instiki''), and >this morning I have a 500 error when I try to view a page. Well, it >doesn''t seem to be that stable (for my installation at least). > >Your site works for me. :) Is it not running in development mode, by any chance? Development mode is not supposed to be stable. Instiki.org is running without restart on a Webrick for the last four days. Best regards, Alex
> Your site works for me. :)Well, it seems a little... randomous ? (sorry for my custom english) :-)> Is it not running in development mode, by any chance? Development > mode is not supposed to be stable.Yes, it works in development mode. I didn''t manage to turn it on production (I just tried to set an ENV[RAILS] in environment.rb). Moreover, I know that there are some 500 error problems at DreamHost sometimes, and I didn''t applied the existing workarounds yet.> Instiki.org is running without restart on a Webrick for the last > four days.There is no doubt for me that Instiki is stable, I swear you ! I just meant that I thought that _my installation_ was not ! :-) Thanks for your answer, Julien
> Yes, it works in development mode. I didn''t manage to turn it on > production (I just tried to set an ENV[RAILS] in environment.rb).That reminds me - the default environment in script/server is production, but the help doco says development. Attached is a patch for slightly better handling of RAILS_ENV. Cheers, Assaph -------------- next part -------------- A non-text attachment was scrubbed... Name: script_server.patch Type: application/octet-stream Size: 1171 bytes Desc: not available Url : http://rubyforge.org/pipermail/instiki-users/attachments/20060323/818ea9d1/attachment.obj