Re: Missing environment variables with FastCGI on Apache 2.0.48/Win32
pps <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
Fabrice Colin <fabrice@...> writes: > > Hello all, > > I am experiencing a problem with FastCGI based applications on Apache > 2.0.48/Windows NT. > > Basically it appears that REQUEST_METHOD, CONTENT_LENGTH and the other > CGI variables our apps expect are not made available. I wrote a simple > FCGI app that prints out environ, and only these three variables are > defined : > > SystemRoot=C:\WINNT > _FCGI_SHUTDOWN_EVENT_=1240 > _FCGI_MUTEX_=1236 Got the same problem. I use c++ with fcgi and my apps worked well on freebsd untill I desided to try to see how they work on win32. I've setup basicly the same apache with mod_ssl and fcgi and had the same outcome - no enviroment set. I was almost sure that there were no such bugs that could lead to such outcom in my code but I spent alot of time checking old code. Then I simply tried to run these binaries as plaint cgi and they work as expected, so my guess is that mod_fcgid or something else messes up with linkig to wrong libs or something like this... ___________________________________ fastcgi-developers mailing list http://fastcgi.com/fastcgi-developers/