|
|||
|
I have setup a Ruby on Rails site according to the documentation and I am able to access the public/index.html page. I have updated the config/routes.rb file to make
map.root :controller=>'home' where I have the controller app/controllers/home_controller.rb When I access the site root with my web browser (http://www.mywebsite.com) I am able to see /home/index fine. I am unable to access http://www.mywebsite.com/home/index directly. I get a 404 error. Has anyone gotten a Ruby on Rails 2.3.4 site up and running? |
|
|||
|
David, this is just a suggestion as we do not have more information on the issue.
Please try the following. 1. Access the URL it without skipping the trailing '/' URL: http://www.mywebsite.com/home/index/ 2. Change map.root :controller=>'home' ---> map.root, :controller=>"home", :action=>"index" If we could recreate the error at our end, we may be able to help you better. Hence, if the problem persists, please provide us the following details : what server, which control panel, the application path that you have set etc. If you are using a cpanel control panel. You can refer the following links. URL: Creating and Running a Ruby On Rails application in cPanel - Crucial Paradigm // Crucial Paradigm - Official Blog URL: Deploying a Ruby on Rails Environment Also, if possible please open a support ticket with a detailed description regarding the issue. |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT +11. The time now is 05:40 PM.
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2









Linear Mode
