SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Aug 2006
    Posts
    108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    only seeing rails welcome page

    On my workstation I can view my rails app with http://localhost:3000/content, content being the name of the controller, but when I deploy the app on the production server, all I get is the ruby on rails welcome page, although I have deleted the index.html file from the public folder. When I click on the 'about your application environment' link, I get '500 Internal Server Error'.

    Mongrel seem to be in order, mongrel_cluster_ctl saw the mongrel at the port specified have been found.

    The route.rb also seems ok, with the four uncommented lines as:

    map.connect '', :controller => 'content', :action => 'index'
    map.connect ':controller/service.wsdl', :action => 'wsdl'
    map.connect ':controller/:action/:id.:format'
    map.connect ':controller/:action/:id'

    What else should I be looking at? Why is the welcome page still showing after i deleted the index.html file?

  2. #2
    SitePoint Zealot
    Join Date
    Aug 2006
    Posts
    108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorted it out, the reason why the welcome page kept showing, I deleted the index.html file from the server, but not from the working copy (subversion) on my workstation, so when I deployed again, it showed up on the server.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •