I've found : all one have to do it to put config.action_controller.relative_url_root = '/yourpath' in the config file.
On 9 fév, 13:57, Pierre L <[email protected]> wrote: > Hello, > > My server installation of RoR is working but I still have a problem > with routes. I would like the root URL of my site to be some thing > like mydomain.com/mysite/ . But this is not working since Rails > include the '/mysite/' in his routing. Of course, if in all > connections in routes.rb I add '/mysite', all is working, but is there > another way to tell Rails that my root URL is not '/' ? > > Thank you for all, > Pierre L. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

