Four Days on Rails: Errror: connection refused

Hello,
I'm installing Four Days on Rails. On the first checkpoint, I attempt
to connect to the server:

http://todo/

In Mozilla, the message is that connection is refused. In IE: Cannot
find server or DNS Error. I have done the following steps. What did i
miss?

Thanks
basi

Steps:
1. Create the directory stucture
c:\> subst w: c:\www\webroot
c:\> w:
w:\> rails ToDo
2. Define application in the hosts file
127.0.0.1 todo
127.0.0.1 localhost
207.68.172.246 msn.com
3. Define the application in Apache. Restarted apache.
<VirtualHost *:80>
  ServerName todo
  DocumentRoot /www/webroot/ToDo/public
  <Directory /www/webroot/ToDo/public/>
    Options ExecCGI FollowSymLinks
    AllowOverride all
    Allow from all
    Order allow,deny
  </Directory>
</VirtualHost>
4. Switch to fastcgi
# Change extension from .cgi to .fcgi to switch to FCGI and to .rb to
swith to mod_ruby
RewriteBase /dispatch.fcgi

basi:

http://todo/

In Mozilla, the message is that connection is refused. In IE: Cannot find
server or DNS Error.

Seems the host configuration does not work. Will http://localhost or
http://127.0.0.1 do it?

Malte

basi wrote:

3. Define the application in Apache. Restarted apache.
  DocumentRoot /www/webroot/ToDo/public
  <Directory /www/webroot/ToDo/public/>

On windows you need to specify c:/www/webroot/ToDo/public ... Windows doesn't comprehend "/www/...."

Zach

Unfortunately, neither one works either. Thanks for the suggestion. I'm
still stuck.

Zach,
Added the drive letter c:, thus:

DocumentRoot c:/www/webroot/ToDo/public
<Directory c:/www/webroot/ToDo/public/>

Then restarted Apache and attempted to connect:

http://localhost:80/

but, still, connection was refused.

Thanks,
basi

Basi,

It sounds like apache's not running (or is listening on the wrong interface
or port).

Try telnetting to localhost on port 80 to see if anything's listening.

···

--
Mando

On 4/18/05, basi <basiibarra@yahoo.com> wrote:

Unfortunately, neither one works either. Thanks for the suggestion. I'm
still stuck.

Mando,
I used Port Detective, and it reported that Port 80 is open.
Thanks,
basi