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.

[Case 70709] How to get Apache 2.4 and Ruby on Rails to work together?

Discussion in 'EasyApache' started by Eli L, Jun 27, 2013.

  1. Eli L

    Eli L Well-Known Member

    Joined:
    Aug 9, 2007
    Messages:
    61
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Bellingham, Washington, United States
    cPanel Access Level:
    Root Administrator
    Compiling Apache 2.4 leads to the the the cpanel RoR redirects to not function as they should leading to unusable RoR apps (unless accessing the apps directly using the port).

    I tried going through cpanel support (internal report #70709) but they seem to think its an apache bug.

    So, has anyone had any success getting Apache 2.4 and RoR to work together? If so what steps did you take to get it to work?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    I do see that internal case 70709 is open to address this issue. I will update this thread with more information as it becomes available.

    Thank you.
     
  3. InterServed

    InterServed Well-Known Member

    Joined:
    Jul 10, 2007
    Messages:
    255
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    DataCenter Provider
    Hello

    Any news on this ? So far this issue is the only thing stopping me from upgrading to apache 2.4 on production server/s.
     
  4. VeZoZ

    VeZoZ Well-Known Member

    Joined:
    Dec 14, 2002
    Messages:
    248
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    Just wondering if there is any update on this?
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Case 70709 is still open at this time. While there is no specific time frame on when a resolution will be made available, it's a task that cPanel's EasyApache team plans to address in the near future.

    Thank you.
     
  6. ScottTh

    ScottTh Well-Known Member

    Joined:
    Jan 28, 2013
    Messages:
    157
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Hi everyone,

    Here's some additional information the EasyApache team discovered in regards to this issue:

    It looks like apache 2.4 is adding the index file name from DirectoryIndex directive to the URI.

    Processing ApplicationController#index (for 10.1.4.77 at 2013-07-26 10:26:29) [GET]

    ActionController::RoutingError (No route matches "/index.htm.var" with {:method=>:get}):

    Rendering /home/rlb3/rails_apps/myapp/public/404.html (404 Not Found)

    If rails is in production mode this shows up as a 404 error.

    I would suggest adding "DirectoryIndex disabled" to you .htaccess. This should stop the unwanted behavior.
     
  7. Eli L

    Eli L Well-Known Member

    Joined:
    Aug 9, 2007
    Messages:
    61
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Bellingham, Washington, United States
    cPanel Access Level:
    Root Administrator
    Thanks! Disabling that fixes the issue.
     
Loading...
Similar Threads - [Case 70709] Apache
  1. guldvog
    Replies:
    10
    Views:
    1,676

Share This Page