From: Eric Hodel Date: 2002-10-07T12:05:01+09:00 Subject: Re: Net/HTTP does not read RubyRequire page in mod_ruby --tjCHc7DPkfUGtrlw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 >=20 > 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=3Diso-8859-1 >=20 > > > 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. >=20 > 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? You should be sending the Host: mysite header after the GET line --=20 Eric Hodel - drbrain@segment7.net - http://segment7.net All messages signed with fingerprint: FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04 --tjCHc7DPkfUGtrlw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9oPnZMypVHHlsnwQRAjw/AJ9ZlHjaTLYsXHqLcsfwF9O+WdsyZwCguPuM Zyxu7qVQwoVcnDdM8IGe5fw= =gJqa -----END PGP SIGNATURE----- --tjCHc7DPkfUGtrlw--