Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Creating rails rewrite results in 500 error

Discussion in 'General Discussion' started by elixant, Aug 21, 2010.

  1. elixant

    elixant Registered

    Jul 15, 2003
    Likes Received:
    Trophy Points:
    I am trying to deploy a Rails app on a server running cPanel 11.25.0-C46156. For the sake of this example, let's say I've created a rails app with "test" as the app name and an application path of /home/myacct/rails_apps/test. The app works correctly when accessing it at (the port on which the app is running).

    I would like to be able to access this app at Per the cPanel documentation, I set up a rewrite and specified "" as the URL to be redirected. However, cPanel shows that requests to "" are being sent to "", which throws a 500 error. Now, shouldn't "" redirect to "" (without /test at the end)? It seems like cPanel is unnecessarily appending the app name after the port, but I cannot find a way to override this behavior.

    I am sure this is just some simple oversight on my part, but I would greatly appreciate any help others might be willing to give. I have searched quite extensively on the cPanel forums and on Google, and did not see any recent discussions of rewrite issues with cPanel's RoR tools.

    #1 elixant, Aug 21, 2010
    Last edited: Aug 21, 2010

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice