Configuring Lighttpd with FastCGI for MapServer
In an effort to obtain a faster and lightweight solution, I decided to use Lighttpd (AKA Lighty) with FastCGI to power MapServer. Snooping around the MapServer site yielded no clues on how to configure Lighty. It turns out to be fairly simple.
Here is the Lighttpd configuration:
fastcgi.server = ( "/maps" = ( "localhost" = ( "socket" = "/tmp/mapserver-fastcgi.socket", "check-local" = "disable", "bin-path" = "/usr/lib/cgi-bin/mapserv", "min-procs" = 1, "max-procs" = 6, "