Project

General

Profile

404 on the home page after apache upgrade

Added by Nick S about 10 years ago

Hi Folks,

I'm stuck on Redmine 1.22 with my ISP (I can't run bundler & Rails 3.0 is not supported).

They recently updated Apache to 2.4 and PHP to 5.4 and since then, the home page gives a 404. The rest of the site still functions satisfactorily.

My production.log shows:

Processing ApplicationController#index (for xxx.xxx.xxx.xxx at 2014-04-16 14:38:53) [GET]

ActionController::RoutingError (No route matches "/index.html.var" with {:method=>:get}):
  config/initializers/mongrel.rb:62:in `dispatch_cgi'

Rendering /home/xxxxxx/rails_apps/redmine-1.2.2/public/404.html (404 Not Found)

I've had no luck working out what has gone wrong. Could anyone suggest anything?

What other info might help in diagnosing this issue?

Thanks


Replies (1)

RE: 404 on the home page after apache upgrade - Added by Nick S over 9 years ago

For anyone else hitting this problem: "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)."

http://forums.cpanel.net/f5/case-70709-how-get-apache-2-4-ruby-rails-work-together-352232-print.html

Add "DirectoryIndex disabled" to .htaccess !

    (1-1/1)