Re: How to configure fastcgi with lighttpd
Matthew Weigel <[email protected]> Sun, 21 Feb 2010 22:40:38 -0600
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
On 2/21/2010 10:28 AM, silverburgh wrote: > Hi, > > I am trying to configure FastCgi with ligttpd server. > > I was able to run vanilla lighttpd like this: ./lighttpd -f lighttpd.conf > > And then I compile/install the source of fastcgi, and I add the > following in my lighttpd.conf: > > fastcgi.server = ( "/fastcgi_scripts/" => > (( #"host" => "127.0.0.1", > #"port" => 9091, > "check-local" => "disable", > "bin-path" => "/usr/local/bin/cgi-fcgi", > "docroot" => "/" # remote server may use > # it's own docroot > )) > ) > But lighttpd won't start after I add the above. Per http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModFastCGI, you need to specify host+port or socket; you don't specify either in this case, so lighttpd doesn't know what to do and exits instead. -- Matthew Weigel hacker unique & idempot . ent