No route matches [GET] "/'403.shtml" when trying to access the homepage
Added by Bram Gillemon over 9 years ago
Hi,
I recently upgraded my apache from 2.2 to version 2.4 and now i'm not able to reach the homepage anymore.
I currently have 2 versions of redmine running, my "live" version, which is running 2.5.3, and a test version printed below.
My apache config looks like this:
<VirtualHost xxxx:80 > ServerName www.xxxx.be ServerAlias www.xxx.be xxxxx.be ServerAdmin webmaster@xxxx.be DocumentRoot /home/projectste/domains/projectstest.xxxx.be/public_html/public ScriptAlias /cgi-bin/ /home/projectste/domains/projectstest.xxxx.be/public_html/public/cgi-bin/ UseCanonicalName OFF <IfModule !mod_ruid2.c> SuexecUserGroup projectste projectste </IfModule> CustomLog /var/log/httpd/domains/projectstest.xxxxx.be.bytes bytes CustomLog /var/log/httpd/domains/projectstest.xxx.be.log combined ErrorLog /var/log/httpd/domains/projectstest.xxx.be.error.log #Customlogging CustomLog /var/log/apache2/projectste/projectstest.xxxxx.be.log combined ErrorLog /var/log/apache2/projectste/projectstest.xxxxx.be.error.log <Directory /home/projectste/domains/projectstest.xxxx.be/public_html/public> Require all granted RailsEnv development RailsBaseURI / PassengerResolveSymlinksInDocumentRoot on AllowOverride all Options -MultiViews Allow from all Require all granted </Directory> </VirtualHost>
Each time i try to visit the homepage i get a page not found, i tried running it in development mode to get more output, but the only thing i see is
ActionController::RoutingError (No route matches [GET] "/403.shtml"): actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' passenger (5.0.21) src/ruby_supportlib/phusion_passenger/rack/thread_handler_extension.rb:97:in `process_request' passenger (5.0.21) src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb:152:in `accept_and_process_next_request' passenger (5.0.21) src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb:113:in `main_loop' passenger (5.0.21) src/ruby_supportlib/phusion_passenger/request_handler.rb:416:in `block (3 levels) in start_threads' passenger (5.0.21) src/ruby_supportlib/phusion_passenger/utils.rb:113:in `block in create_thread_and_abort_on_exception' Rendered /home/projectste/.bundle/ruby/1.9.1/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /home/projectste/.bundle/ruby/1.9.1/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (8.9ms) Rendered /home/projectste/.bundle/ruby/1.9.1/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (0.9ms) Rendered /home/projectste/.bundle/ruby/1.9.1/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /home/projectste/.bundle/ruby/1.9.1/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (112.4ms)
Anyone who has seen this behaviour before, and knows how to fix it? Or somebody who can help me debug this?
Kr,
Bram
Environment: Redmine version 3.1.1.stable Ruby version 1.9.3-p392 (2013-02-22) [x86_64-linux] Rails version 4.2.4 Environment production Database adapter Mysql2 SCM: Git 1.7.10.4 Filesystem Redmine plugins: no plugin installed