[Nitro] Nitro Apache2 CGI/FCGI (again)

Kashia Buch kashia at vfemail.net
Thu Dec 29 16:12:36 EST 2005


On Thu, 29 Dec 2005 21:51:25 +0100, James Britt <james_b at neurogami.com>  
> I *believe* you should be able to run the cgi script form the command
> line, which might give you some more useful error info.  The 'malformed
> header' stuff is the ultimate in useless error messages.  It tends to
> come from the actual error info being sent out to Apache, which  in turn
> complains about the data not being all nice and header-like (while not
> bothering to emit the actual bad header data in its message).

I agree with you.. very useless indeed

$ ruby cgi.rb
D, [2005-12-29T21:57:40.163325 #14122] DEBUG -- : Using memory sessions.
(offline mode: enter name=value pairs on standard input)
`method': undefined method `downcase' for nil:NilClass (NoMethodError)
         from /sw/var/lib/gems/1.8/gems/nitro-0.26.0/lib/nitro/cgi.rb:34:in  
/sw/var/lib/gems/1.8/gems/nitro-0.26.0/lib/nitro/server.rb:124:in `run'
         from /sw/var/lib/gems/1.8/gems/nitro-0.26.0/lib/nitro.rb:73:in  
         from ./../run.rb:24
         from cgi.rb:5

in request.rb line 106

does not seem to be set.

but, now, does that have anything to do with the cgi problem...
guess it does, will investigate a bit

Thank you very much for the help :D

Feel the love

More information about the Nitro-general mailing list