Re: Windows, Apache2, FastCGI:

Arien Malec
Sat, 19 Mar 2005 05:31:45 -0000

On Fri, 18 Mar 2005 08:08:42 -0800, Arien Malec
<arien.malec-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
> I''ve been struggling through getting Rails to work with Apache2
&
> FastCGI. I used the RubyForApache distribution of mod_fastcgi, the
> latest stable Apache2, Windows XP.

OK, there is some serious oddness going on. I tried again with WEBRick, and got:

[2005-03-18 21:22:11] ERROR Errno::EINVAL: Invalid argument
        c:/ruby/lib/ruby/1.8/webrick/httpresponse.rb:324:in `write''
        c:/ruby/lib/ruby/1.8/webrick/httpresponse.rb:324:in `<<''
        c:/ruby/lib/ruby/1.8/webrick/httpresponse.rb:324:in
`_write_data''
        c:/ruby/lib/ruby/1.8/webrick/httpresponse.rb:317:in
`_send_file''
        c:/ruby/lib/ruby/1.8/webrick/httpresponse.rb:272:in
`send_body_io''
        c:/ruby/lib/ruby/1.8/webrick/httpresponse.rb:186:in `send_body''
        c:/ruby/lib/ruby/1.8/webrick/httpresponse.rb:104:in
`send_response''
        c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:79:in `run''
        c:/ruby/lib/ruby/1.8/webrick/server.rb:155:in `start_thread''
        c:/ruby/lib/ruby/1.8/webrick/server.rb:144:in `start''
        c:/ruby/lib/ruby/1.8/webrick/server.rb:144:in `start_thread''
        c:/ruby/lib/ruby/1.8/webrick/server.rb:94:in `start''
        c:/ruby/lib/ruby/1.8/webrick/server.rb:89:in `each''
        c:/ruby/lib/ruby/1.8/webrick/server.rb:89:in `start''
        c:/ruby/lib/ruby/1.8/webrick/server.rb:79:in `start''
        c:/ruby/lib/ruby/1.8/webrick/server.rb:79:in `start''
        c:/ruby/lib/ruby/gems/1.8/gems/rails-0.10.1/lib/webrick_server.rb:21:in
`dispatch''
        script/server:48
192.168.2.4 - - [18/Mar/2005:21:22:11 Pacific Standard Time] "GET /
HTTP/1.1" 200 0 - -> /

At this point, I''m pretty lost. Work is fine on my local box, but I
can''t effectively do xbrowser testing, because I can''t hit
Rails from
my wife''s iBook. I''m not sure exactly what''s going on
-- any help
would be appreciated.

Arien