The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Ruby On Rails SSL and cPanel

Discussion in 'General Discussion' started by roy2098, Mar 15, 2010.

  1. roy2098

    roy2098 Registered

    Joined:
    Mar 15, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I'm able to successfully install and run multiple Ruby on Rails applications (notably Redmine) on this (CentOS-54) cPaneled server. What I cannot do, although I've tried mightily, is to run the below Rubies via SSL.

    I'm not an RoR or Apache guru by any means, I know enough to get by and then some...

    While these work fine:

    Example Web Page
    Example Web Page

    I can also get this to work:

    http://subdomain1.example.com
    http://subdomain2.example.com

    via redirects

    What I really want and need is:

    https://example.com:12001
    https://example.com:12002

    or

    https://subdomain1.example.com
    https://subdomain2.example.com

    There are scattered pieces of info around the 'net but very few apply to a cPaneled server. Can someone please help? Thanks in advance!
     
  2. Azavia

    Azavia Member

    Joined:
    Sep 23, 2006
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Pennsylvania
    Hi,

    Sorry to bring up this thread, but I wondered if you ever solved this, or if anyone else knwos how?

    I just installed a Geotrust SSL certificate, but cannot figure out how to get it to work with Ruby, since it is on port 12xxx.

    I love using Rails, and am so glad that CPanel has enabled it now, but it is a dealbreaker for using Rails if I can't use SSL with it, since I'm developing an e-commerce application.

    So how can this be done?
     
  3. m.topper

    m.topper Registered

    Joined:
    May 19, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    You could try NGASI Rails Mgr with cPanel.
    The Rails Manager setups RoR to be proxied by Apache.
    This enables access via the standard ports (80 and 443).
    ngasi.com is the site
     
  4. Azavia

    Azavia Member

    Joined:
    Sep 23, 2006
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Pennsylvania
    Hi,

    Thanks. I actually ended up using passenger instead, and it works great.
     
  5. damainman

    damainman Well-Known Member

    Joined:
    Nov 13, 2003
    Messages:
    515
    Likes Received:
    0
    Trophy Points:
    16
    Would it be possible to provide some insight as to the procedure used to install redmine? Most importantly did you log in via root to install it, or did you do it via ssh as a cpanel user? etc?

    Also do you use git or svn with it?

    It took along time to get redmine installed on my server, but it can't get it to see the files for the repository... and on a side note, I think I may have installed it the more complicated route and incorrectly for a cpanel server.

    Thank you in advance.
     
Loading...

Share This Page