How to configure fastcgi with lighttpd

Posted by silverburgh on Server Fault See other posts from Server Fault or by silverburgh
Published on 2010-02-21T08:19:01Z Indexed on 2011/01/10 8:55 UTC
Read the original article Hit count: 334

Filed under:
|

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.

Can you please tell me how can I run fastcgi with lighttpd? I want to use a c program with fastcgi with lighttpd.

Thank you.

© Server Fault or respective owner

Related posts about lighttpd

Related posts about fastcgi