Hi,
So thanks to Zed I was able to get lighty/scgi and a Rails app running.
I know this might not be the best place to post this, but I guessed
there may be several others with similar experiences here.
So, the following step is to have several apps each in its on
subdirectory. I tried the following to no avail:
$HTTP[“url”] =~ “^/tango/” {
server.document-root = “/home/tango/public/”
server.error-handler-404 = “/dispatch.scgi”
scgi.server = (
“/dispatch.scgi” =>
( “127.0.0.1” =>
(
“host” => “127.0.0.1”,
“port” => 9999,
“check-local” => “disable”
)
)
)
}
But all I get is a 404. Running scgi_monitor shows that in fact,
requests to anything in or below /tango/ is getting handled by SCGI. So
it would seem that SCGI isn’t finding the Rails app?
Regards,
Ivan V.
PS: This is fun!