Problem with RubyOnRails + SCGI + Apache


This is my first post on this Mailing List and I hope I don’t make any

At the moment I’m working on a Homepage Test Framework which is based on
RoR and Watir. Everything is working on an Apache + SCGI. Normally I
a Test with Ruby Code in Watir and the test returns a result. But when
the test takes too long (exactly after 1min), i get some errors.

Error Message in the browser:
Application error (Apache)
Change this error message for exceptions thrown outside of an action
(like in Dispatcher setups or broken Ruby code) in public/500.html

Error Message in the Apache Server Log:
[client] Premature end of script headers: 52, referer:
[client] (500)Unknown error: scgi: Unknown error: error
reading response headers, referer:

I don’t have this problem with Webrick

Maybe someone here can help me.

Best regards,