Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    Apr 2006
    Posts
    62

    Default RoR CURRENT

    Has anyone had any success with the RoR in CURRENT yet. We are able to get it to create the apps and it will setup the redirects and it seems to start the app.

    When we attempt to delete the app however, it says its deleted but it remains in the site and the same with any redirects we setup.

    Also when we setup a redirect, we get a connection timed out on the resulting page.

  2. #2
    Member
    Join Date
    Apr 2006
    Posts
    62

    Default

    Anybody....?

  3. #3
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Are you (or your customer) using a custom app, or one I can download and test?

    let me know and I'll do some testing on this today.

  4. #4
    Member
    Join Date
    Apr 2006
    Posts
    62

    Default

    Noone is using it at the moment as it wont load the redirected pages. i only setup a test app and even with the redirect in place it still goes to the url http://xxx.com:12001/ Im not a ruby user so i dont really know much about it, but, i do know something isnt working correctly

  5. #5
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Alright, so it's more a problem with the basic functionality.

  6. #6
    Member
    Join Date
    Apr 2006
    Posts
    62

    Default

    seems like it. I created a test app and it creates the directory structure in public_html/test -> ok.

    I setup the redirect http://xxx.com:12001 -> /test but the url still points to xxx.com:12001

    If i delete the app with cPanel, it says its deleted but the app remains in the test folder and if i delete the redirect, that also remains in the htaccess file.

    It may even be a problem with mongrel? after starting the app i didnt notice any processes running for the mongrel server, but again, i dont really use ror so thats more of a guess.

  7. #7
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Anything show up in the cPanel error log when you create/delete an app? What about when you attempt to start/stop the app.

  8. #8
    Member
    Join Date
    Apr 2006
    Posts
    62

    Default

    Nothing in the cPanel log, but, i can see the mongrel process running.

    therewrite rule created looks like this:
    Code:
    RewriteEngine on
    #AddHandler fcgid-script .htmlRewriteCond %{HTTP_HOST} ^mtech-hosting.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www.mtech-hosting.com$
    RewriteRule ^test http://127.0.0.1:12001%{REQUEST_URI} [P,QSA,L]
    Notice it added it started all on one line after my commented directive

  9. #9
    Member
    Join Date
    Sep 2003
    Posts
    50

    Default

    I have noticed there is an odd behaviour when setting up a redirect to an application. If you are pointing a subfolder to a rails application e.g. www.domain.com/my_rails_app this will get redirect to 127.0.0.1:12001/my_rails_app. Surely this is incorrect, you are then not pointing to a rails application, you are pointing to a specific controller of a rails application. www.domain.com/my_rails_app should point directly to the root of the rails application at 127.0.0.1:12001.

Similar Threads & Tags
Similar threads

  1. Installing ROR 3.x?
    By optize in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-30-2010, 06:28 PM
  2. RoR same port
    By bin_asc in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-10-2009, 07:38 AM
  3. ROR on centos
    By mojamoi in forum New User Questions
    Replies: 0
    Last Post: 01-24-2008, 06:02 AM
  4. Confused about ROR
    By Host4cheap in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-25-2007, 08:58 PM
  5. Uninstalling RoR
    By deanstev in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-11-2007, 04:45 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube