[Instantrails-users] Create a virtual host using Instant Rails 1.7

udai kudikyala udaikudikyala at gmail.com
Fri May 25 09:34:18 EDT 2007


Thanks for pointing me in the right direction.
The cookbook application is using  the default index.html  page to redirect
to the required URL.
The Typo application is actually using rails routing (config/routes.rb) to
invoke the controller and the action.
Well both mechanisms work.
I really appreciate your help.

Udai


On 5/24/07, David Morton <mortonda at dgrmm.net> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> On May 24, 2007, at 4:51 PM, udai kudikyala wrote:
>
>
> > Now, the cookbook application seems to be redirecting to
> >    http://www.mycookbook.com/recipe/list by just typing the URL
> > http://www.mycookbook.com
> > This is not hapenning with my application though.  I don't undersand.
> > Any help is appreciated.
> > Thanks again for your help.
> >
>
>
> That's the correct behavior. You have to specify the default action
> via Rail's routes mechanism.  Look in the config/routes.rb for one of
> the other applications, or look for docs on rails routing.
>
> David Morton
> Maia Mailguard http://www.maiamailguard.com
> mortonda at dgrmm.net
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
>
> iD8DBQFGVmr3Uy30ODPkzl0RArtYAJwOtq1a9KExuyyFnf3xQ64OS1jTtACgkk/Z
> qS1L+t6U3PVwkkF99J+x7nI=
> =pJz8
> -----END PGP SIGNATURE-----
> _______________________________________________
> Instantrails-users mailing list
> Instantrails-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/instantrails-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20070525/479cf5b9/attachment.html 


More information about the Instantrails-users mailing list