Re: FastCGI with Ruby (and Perl) failing

Dennis Sutch <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
On 4/27/05, Sam Vilain <sam-s9IUA/[email protected]> wrote:
> 
> Dennis Sutch wrote:
> > When we point a browser to the URL, a 500 error is returned.
> > The Apache error logs return multiple duplicate entries containing HTML:
> > [Wed Apr 27 11:07:26 2005] [warn] FastCGI: (dynamic) server
> > "/var/www/ruby_fastcgi_test/index.fcgi" started (pid 12935)
> > Content-Type: text/html
> > Content-Length: 119
> 
> Looks like the ruby script is printing to the error socket... does the
> Ruby "hello, world" fcgi work for you?


I've tried the minimal cgi "Hello, world" script under fcgi, as well as 
using print statements. Both of these produce the same results, as well as a 
stripped down version of the script that I originally posted.

I've even tried sending output to STDOUT, but it also ends up in the error 
log. It is quite strange.

- Dennis

-- 
"Thanks to the crew of rocketscientists.ca for the gmail invitation!"
http://www.rocketscientists.ca/

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.