On 3/22/07, Dude <azifali / gmail.com> wrote:
> Here's the apache error log..
>
> --
>
> [Wed Mar 21 14:33:16 2007] [notice] Child 696: Starting thread to
> listen on port 8080.
> [Wed Mar 21 14:33:22 2007] [error] [client 127.0.0.1] Premature end of
> script headers: eruby.exe
> [Wed Mar 21 14:33:22 2007] [error] [client 127.0.0.1] C:\\Documents
> and Settings\\Asif Ali\\user\\WAPLanding\\landingPage.rhtml:11:
> undefined local variable or method `cgi' for main:Object (NameError)\
>
> --
> None of the CGI methods seem to work with eRuby.
>
> And no, I have not configured mod_ruby - I have only directly
> configured eRuby.
>

Is your eRuby emitting the HTTP response headers or just the body text?

The latter won't do I think.

http://httpd.apache.org/docs/1.3/misc/FAQ-F.html#premature-script-headers

-- 
Rick DeNatale

My blog on Ruby
http://talklikeaduck.denhaven2.com/