lighttpd fastcgi install with /redmine/ uri
Added by Jérémy Lal almost 16 years ago
Hi,
i have a working install of redmine using lighttpd, but i'd like to be able to setup access to redmine using
http://localhost/redmine/
i couldn't find any working example around. Do someone knows about this ?
Replies (2)
RE: lighttpd fastcgi install with /redmine/ uri - Added by Jean-Baptiste Barth almost 16 years ago
Maybe this page can help you ?
RE: lighttpd fastcgi install with /redmine/ uri - Added by Jérémy Lal almost 16 years ago
this was more like it :
# Subdirectory configuration for lighttpd server using mod_fastcgi $HTTP["url"] =~ "^/redmine/" { alias.url = ("/redmine" => "/usr/share/redmine/public") server.document-root = "/usr/share/redmine/public/" server.error-handler-404 = "/redmine/dispatch.fcgi" index-file.names = ("dispatch.fcgi") # Change *-procs to 2 if you need to use Upload Progress or other tasks that # *need* to execute a second request while the first is still pending. fastcgi.server += ( ".fcgi" => ( "localhost" => ( "min-procs" => 1, "max-procs" => 2, "check-local" => "disable", "socket" => "/var/run/redmine/sockets/fcgi.socket", "bin-path" => "/usr/share/redmine/public/dispatch.fcgi", "bin-environment" => ( "RAILS_ENV" => "production", "RAILS_RELATIVE_URL_ROOT" => "/redmine" ) ) ) ) }
instead of appending stuff to environment.rb, notice the bin-environment option here.
also check-local was the main responsible for my headeache.