Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 1 of 1
  1. #1
    Registered User
    Join Date
    Jul 2003
    Posts
    2

    Post Creating rails rewrite results in 500 error

    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 http://mydomain.com:12001 (the port on which the app is running).

    I would like to be able to access this app at http://mydomain.com/test/. Per the cPanel documentation, I set up a rewrite and specified "http://mydomain.com/test" as the URL to be redirected. However, cPanel shows that requests to "http://mydomain.com/test" are being sent to "http://mydomain.com:12001/test/", which throws a 500 error. Now, shouldn't "http://mydomain.com/test" redirect to "http://mydomain.com:12001" (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.

    Thanks!
    -Mike
    Last edited by elixant; 08-21-2010 at 07:50 PM.

Similar Threads & Tags
Similar threads

  1. URL rewrite 2.0 IIS7 Enkompass Error
    By mestresan in forum Enkompass Discussions
    Replies: 2
    Last Post: 08-01-2011, 07:06 PM
  2. suPHP results in 500 Error
    By Dan_EZPZ in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 06-06-2008, 04:33 PM
  3. Replies: 0
    Last Post: 05-12-2006, 04:00 PM
  4. error 500 internal server error on movable type
    By spoiledbrattine in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-04-2005, 01:15 PM
  5. Bandwidth exceed - error msg HTTP 500 Internal Error
    By albertg in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-23-2004, 07:24 AM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube