Very very basic question

Ok, I’ve got a test app written and it’s accessible at
http://localhost/hello/

I want it accessible at http://localhost/ instead. In the public
directory there is the index.html that has all the ‘Welcome to rails’
stuff. Is there a way to have it skip over that completely (i.e. not
use a redirect) and go to hello/ instead?

I assume changing my documentroot wouldn’t be the answer unless I’m
supposed to set it to /var/www/rails/helloapp/hello instead of
/var/www/rails/helloapp

Thx.

Add map.connect ‘’, :controller => ‘hello’ to your routes and delete
index.html file from public/ directory.

Kent.

Kent S. wrote:

Add map.connect ‘’, :controller => ‘hello’ to your routes and delete
index.html file from public/ directory.

Kent.

Thanks!!!