From: Jim Freeze Date: 2002-10-07T19:19:57+09:00 Subject: Re: Net/HTTP does not read RubyRequire page in mod_ruby On Mon, Oct 07, 2002 at 12:05:01PM +0900, Eric Hodel wrote: > Jim Freeze (jim@freeze.org) wrote: > > > telnet mysite 80 > > Trying 63.106.140.203... > > Connected to mysite > > Escape character is '^]'. > > GET /preload_timetest HTTP/1.0 > > > > HTTP/1.1 404 Not Found > > Date: Mon, 07 Oct 2002 00:57:51 GMT > > Server: Apache/1.3.26 (Unix) mod_ruby/0.9.8 Ruby/1.6.7 PHP/4.0.6 > > Connection: close > > Content-Type: text/html; charset=iso-8859-1 > > > > > > > > 404 Not Found > > > >

Not Found

> > The requested URL /preload_timetest was not found on this server.

> >


> >
Apache/1.3.26 Server at 63.106.140.203 Port 80
> > > > Connection closed by foreign host. > > > > Looks like Net/HTTP is doing the right thing, I'm just not > > sure what my browser does to get the page to work. > > Do you have Vhosts? It is a named host, but that has not affected net/http from working when the path is either a directory or a an existing file. However, for this case it is neither. > You should be sending the Host: mysite header after > the GET line I don't know what this is. What would it look like? -- Jim Freeze ---------- Programming Ruby def initialize; fun; end A language with class