Problem with RubyOnRails + SCGI + Apache

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

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
start
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 10.42.100.97] Premature end of script headers: 52, referer:
http://test/webapp_test/project/37
[client 10.42.100.97] (500)Unknown error: scgi: Unknown error: error
reading response headers, referer:
http://webtest/webapp_test/list_by_project/37

I don’t have this problem with Webrick

Maybe someone here can help me.

Best regards,
Benjamin