How can environment variables be passed from lighttpd config file to a running FCGI/SCGI backend ?

Posted by ArthurP on Stack Overflow See other posts from Stack Overflow or by ArthurP
Published on 2010-05-24T04:50:58Z Indexed on 2010/05/24 5:01 UTC
Read the original article Hit count: 206

Filed under:

It seems that scgi.server's "bin-environment" setting only passes environment variables to newly spawned processes, not to a continuously running SCGI back-end.

I tried setenv.add-environment and setenv.add-request-header but neither is accesible from the (C++) back-end over the CGI interface

Any ideas?

© Stack Overflow or respective owner

Related posts about lighttpd