[FASTCGI] How to configure fastcgi with lighttpd
silverburgh
silverburgh.meryl at gmail.com
Mon Feb 22 12:52:45 EST 2010
Thank you.
I read that article, but do I need to start FastCGI on my local
machine? I tried and I get missing application pathname:
cgi-fcgi -start -connect :9095
Missing application pathname
Usage:
cgi-fcgi -f <cmdPath> , or
cgi-fcgi -connect <connName> <appPath> [<nServers>] , or
cgi-fcgi -start -connect <connName> <appPath> [<nServers>] , or
cgi-fcgi -bind -connect <connName> ,
where <connName> is either the pathname of a UNIX domain socket
or (if -bind is given) a hostName:portNumber specification
or (if -start is given) a :portNumber specification (uses local host).
And I just want to setup the 'echo' example in FastCGI with lighttpd.
Thank you.
On Sun, Feb 21, 2010 at 8:40 PM, Matthew Weigel <unique at idempot.net> wrote:
> 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
> _______________________________________________
> FastCGI-developers mailing list
> FastCGI-developers at mailman.fastcgi.com
> http://mailman.pins.net/mailman/listinfo.cgi/fastcgi-developers
>
More information about the FastCGI-developers
mailing list