aborted: GetOverlappedResult?() failed error (Apache2 on Windows with C)
"박영미" <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello.
I've got some problems to use fastcgi on Windows and Apache2.
I configured fast-cgi on Windows Apache 2.0.5 version as follows
-------------------------------------------------------------------------------------------------
LoadModule fastcgi_module modules/mod_fastcgi-2.4.2-AP20.dll
ScriptAlias /fcgi-bin/ "C:/Program Files/Apache Group/Apache2/fcgi-bin/"
<Directory "C:/Program Files/Apache Group/Apache2/fcgi-bin">
SetHandler fastcgi-script
Options +ExecCGI
AllowOverride None
Order allow,deny
Allow from all
</Directory>
AddHandler fastcgi-script .fcg .fcgi .fpl
-------------------------------------------------------------------------------------------------
And, I complied echo-x.c which is one of the example of FastCGI Developer's
Kit.
The program I compiled is OK when I execute it on command prompt, but it
doesn't work under Apache2 environment. The error messages are like this.
-------------------------------------------------------------------------------------------------
[Fri Aug 25 16:38:14 2006] [error] [client 127.0.0.1] (OS 109)파이프가 끝났습니다. :
FastCGI: comm with server "C:/Program Files/Apache
Group/Apache2/fcgi-bin/echo-x.fcgi" aborted: GetOverlappedResult() failed
[Fri Aug 25 16:38:14 2006] [error] [client 127.0.0.1] FastCGI: incomplete
headers (0 bytes) received from server "C:/Program Files/Apache
Group/Apache2/fcgi-bin/echo-x.fcgi"
-------------------------------------------------------------------------------------------------
In this case, how can I do in order to solve this problem.
One more question, Please give me any useful C libraries similar to cgic and
qDecoder for CGI to use for FastCGI.
Especially, I hope that the libraries could be very useful one that deals
with parameter parsing for GET/POST message and attachment data for
multipart/form-data.
Thank you
Best Regards
Julia
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/