Re: Echo.c observation (and corresponding dumb question)

"Michael Hartley" <michael.hartley-jEoFCcbHCOQze0waTqBjZBy+ShKaMYb+@public.gmane.org>
Newsgroups gmane.comp.web.fastcgi.devel
Organization Openfield Solutions LTD
Message-ID <[email protected]>
Hi,

Have you tried stopping Apache, deploying the newly compiled echo.exe to  
the fcgi-bin directory then restarting apache?  What results do you get if  
you do that?

Have you tried compiling and installing the echo-cpp.cpp example?

Kind regards,
Michael Hartley
http://www.openfieldsolutions.co.uk

On Sun, 24 Jul 2005 02:48:10 +0100, Ken Gustafson <[email protected]>  
wrote:

> Hi all - thanks in advance for any comments on this:
> Running windows XP; apache 1.3.33; mod_fastcgi 2.4.1; MS VC++ 6
> I've successfully compiled and ran echo.c (as a 'C' app) from the
> supplied MS VC++ project files...apache output is perfect.
> I then created a new C++ project (myecho.cpp), copied/pasted echo.c
> into myecho.cpp, and compiled (as a 'C++' app) fine.
> On execution though, the (static) application does not echo the proper
> request environment; it's always a mirror of the initial environment
> (output below):
>
> FastCGI echo
>
> Request number 4, Process ID: 3476
>
> No data from standard input.
>
> Request environment:
> SystemRoot=C:\WINDOWS
> _FCGI_SHUTDOWN_EVENT_=1892
> _FCGI_MUTEX_=1944
>
> Initial environment:
> SystemRoot=C:\WINDOWS
> _FCGI_SHUTDOWN_EVENT_=1892
> _FCGI_MUTEX_=1944
>
> <dumb_question>
> It appears as though the server passed request environment is not  
> accessible.
> Is there some #ifdef __cplusplus directive the compiler sees and
> changes what environ points to?  Could it be MS VC++?
> </dumb_question>
> Bewildered newbie...
> Ken
> ___________________________________
> fastcgi-developers mailing list
> http://fastcgi.com/fastcgi-developers/
>



-- 

Michael Hartley
Openfield Solutions Ltd
www.openfieldsolutions.co.uk

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.