LighttpdFastCGIGuide: Difference between revisions

From Request Tracker Wiki
Jump to navigation Jump to search
m (2 revisions imported)
 
(No difference)

Latest revision as of 15:14, 6 April 2016

Using Request Tracker with lighttpd / FastCGI

The Lighttpd wiki has an article covering Using Request Tracker with lighttpd via FastCGI.

Additional Notes

Here's a tip for getting lighttpd / FastCGI working. Prior to lighttpd 1.4.23, PATH_INFO for FastCGI scripts was being set in a way that stopped RT from fully working. An example of this is RT working, but no CSS being served.

To resolve this:

1. Make sure you have the latest (or at least 1.4.23) of lighttpd

2. In the fastcgi.server section of your configuration file, enable "fix-root-scriptname"

For additional information see http://redmine.lighttpd.net/issues/729

An example fastcgi.server chunk for serving RT from / looks like:

fastcgi.server = ( "/" =>

   ((
      "socket"        => "/opt/rt3/var/fastcgi.sock",
      "bin-path"      => "/opt/rt3/bin/mason_handler.fcgi",
      "check-local"   => "disable",
      "fix-root-scriptname" => "enable",
      "min-procs"     => 4,
      "max-procs"     => 8
    )),
)