Forum

FastCGI enviroment variables always NULL

Samuel
9 January 2012, 10:00
Hi,

I developed a daemon with the FastCGI development kit in C.
I tried to use getenv to get the request content-type but it returned NULL.
When I tried other environment variables I always get NULL.
Why aren't the environment variables updated?

Hiawatha version: 7.4.1
Operating System: Debian-Linux (kernel: 2.6.32)
Hugo Leisink
10 January 2012, 20:32
I have no idea. Hiawatha places it correctly in the environment. I think you should ask the author of the FastCGI development kit for help.
This topic has been closed.