Error 404 ou 500 with lighttpd routing error
Added by Anonymous over 16 years ago
hello,
I try to install lighttpd with redmine but I encounter error 404 or 500.
I'm using Ubuntu 9.04.
lighttpd version: lighttpd-1.4.19 (ssl) - a light and fast webserver
Build-Date: Mar 17 2009 22:14:13
Redmine Production.log
Processing ApplicationController#index (for ::1 at 2009-06-10 09:47:42) [GET]
Session ID: cbd7ab9fd481eef9b068bf5a7184218e
Parameters: {}
ActionController::RoutingError (No route matches "/redmine/" with {:method=>:get}):
/vendor/rails/actionpack/lib/action_controller/routing/recognition_optimisation.rb:67:in `recognize_path'
/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:385:in `recognize'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:148:in `handle_request'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
/vendor/rails/railties/lib/fcgi_handler.rb:103:in `process_request'
/vendor/rails/railties/lib/fcgi_handler.rb:153:in `with_signal_handler'
/vendor/rails/railties/lib/fcgi_handler.rb:101:in `process_request'
/vendor/rails/railties/lib/fcgi_handler.rb:78:in `process_each_request'
/usr/lib/ruby/1.8/fcgi.rb:612:in `each_cgi'
/usr/lib/ruby/1.8/fcgi.rb:609:in `each'
/usr/lib/ruby/1.8/fcgi.rb:609:in `each_cgi'
/vendor/rails/railties/lib/fcgi_handler.rb:77:in `process_each_request'
/vendor/rails/railties/lib/fcgi_handler.rb:76:in `catch'
/vendor/rails/railties/lib/fcgi_handler.rb:76:in `process_each_request'
/vendor/rails/railties/lib/fcgi_handler.rb:50:in `process!'
/vendor/rails/railties/lib/fcgi_handler.rb:24:in `process!'
/public/dispatch.fcgi:24
Rendering /home/xarkam/public_html/redmine/public/404.html (404 Not Found)
lighttpd 30-redmine.conf
# Subdirectory configuration for lighttpd server using mod_fastcgi
$HTTP["url"] =~ "^/redmine" {
server.document-root = "/home/xarkam/public_html/redmine/public/"
server.follow-symlink = "enable"
alias.url = ()
server.indexfiles = ( "dispatch.fcgi" )
magnet.attract-physical-path-to = ( "/home/xarkam/public_html/redmine/public/cleanurl.lua" )
fastcgi.server = ( ".fcgi" =>
( "localhost" => (
"min-procs" => 1,
"max-procs" => 4,
"idle-timeout" => 120,
"socket" => "/tmp/redmine.sock",
"check-local" => "disable",
"bin-path" => "/usr/bin/ruby /home/xarkam/public_html/redmine/public/dispatch.fcgi",
"bin-environment" => (
"RAILS_ENV" => "production",
"RAILS_ROOT" => "/home/xarkam/public_html/redmine"
)
) ) )
}
If add a rewrite section i have a 500 error in place of a 404 error.
Replies (3)
RE: Error 404 ou 500 with lighttpd routing error
-
Added by John Vandervort over 16 years ago
I have the same problem.
No route matches "/redmine/" with {:method=>:get}
Anybody?
RE: Error 404 ou 500 with lighttpd routing error
-
Added by Jiongliang Zhang almost 16 years ago
I have the same problem too.
No route matches "/redmine/" with {:method=>:get}