B
basi
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
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