Hi , I am using Rails with APache on FC3. While I can control the mode in which rails starts using WEBrick.How do I make APache start in one of the dev/production modes.? Vivek
on 2006-01-15 05:29
on 2006-01-15 21:29
in rails use -e with script/server (script/server -e production) and in apache with Fcgi use the following line: FastCgiServer /usr/local/rails/townsimple/public/dispatch.fcgi -initial-env RAILS_ENV=production -idle-timeout 60 -processes 2 adam
on 2006-01-16 13:23
Hi Adam, Thanks for the reply,but I dont get what you mean when you say FastCgiServer /usr/local/rails/townsimple/public/dispatch.fcgi ? Is that some command to start FastCGI ? I actually got fastCGI working and never had to do that!