I’ve been battling with ruby configurations for days now…trying to get
either SCGI or FCGI to work on my Apache 1.3/Linux Red Hat 3 server.
I’ve pretty much gave up that battle since either of them will work with
me after trying dozens of configurations, but now even when I try to run
apps with dispatch.cgi I get this error in my log: “Premature end of
script headers: /home/mysite/mydir/rubyapp/public.dispatch.cgi”
I’ve double checked my chomd on dispatch.cgi, etc… (which is 755), my
shebang line is correct, my .htaccess is perfect, i dont get it.
I can code a full functional ruby app in 30 minutes, but then spend
about 3 days figuring out how to deploy it :-/
Any help would be much appreciated!