I have got IIS and Multiple App's to talk
using same technique’s as I used with isap_fcgi.dll, all works fine apart from an
intermittent problem.
After returning data from a POST, the
rubyw.exe process is left in some funny state, and the next request causes
rubyw.exe to exit.
The same request may work 3 times, then crash
on the 4th.
Steps are as follows POST ->
Returns a Redirect -> GET on Redirfect fails to return (ruby.exe
exits) -> Browser has another go new instance of ruby.exe started and page
returned
Other Steps are POST -> Returns just
render_text -> Another browser instance goes to url -> No page/error is
returned (i.e. the new request got to rubyw but it crashed)
I have duplicated this with a simple form,
that posts and returns itself.
It seems to be a timing thing, But I cant
figure out the cause.
PS: I have patched the cgi.rb (To remove the
IIS reference, if you don’t you get random crashes ay any time)
Anyone come across this before.
-----------------
By set-up is detailed here http://mspeight.blogspot.com/2007/05/how-to-run-multiple-rails-apps-under.html
(but uses fcgiext.dll instead of isapi_fcgi.dll). I did need to repatch the
"AbstractRequest:request_uri" differently as this FastCGI does
provide REQUEST_URI