Hello,
In your rails app directory, under the "public/" dir, there is an
.htaccess file, one line looks like:
# Enable this rewrite rule to point to the controller/action that
should serve root.
# RewriteRule ^$ /controller/action [R]
Uncomment that and change the "controller/action" string to whatever
you want as the root (default).
Cheers
/B
On 07/11/2004, at 10:13 PM, balcersk wrote:
> When I start my rails page it pointing me to _doc/index.html at
> default. How to configure apache
> to point me to the controller and action i want, so how to make any
> controler and action to be default
> page for my domain?
>
> I''am beginner in apache, so exuse me if this question is silly.
> Jacek
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
--
Bruno Mattarollo <bmatt-ee4meeAH724@public.gmane.org>
Currently in: Sydney, Australia
[ http://pokies.typepad.com/virtual_possum/ ]
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails