I have an app that I’ve been developing for some time with RADRails and
WEBrick locally. I wanted to take it to Apache and following the
Downloaded and extracted InstantRails.
Started and tested cookbook with SCGI. Works great.
Copied my app over to rails_apps directory.
Added a virtual host to Apache identical to cookbook (just using port
with cookbook shutdown) and:
handle all requests through SCGI
SCGIMount /dispatch.fcgi 127.0.0.1:9999
Added my URL www.myrailsapp.com to Windows hosts file.
Configured InstantRails copy of MySQL
Shutdown cookbook and my local copy of MySQL. No Apache or anything
should be running.
If I start the app in InstantRails with WEBrick, works fine. With SCGI,
Apache error log, I see:
[Sun Mar 12 11:49:34 2006] [error] [client 127.0.0.1] couldn’t spawn
This has to be some dumb configuration error, but I cannot find it. Any
what I’ve missed?