Need help on fast cgi c++ configuration on windows

Bhushan Sonawane coolbhushans at gmail.com
Fri Jan 25 10:28:14 UTC 2013


yes i cheked it and now i am able to run it but not using cgi-fcgi.exe
using anothe wraper
there is problem in tht code due have any idea about what can be  problem
in cgi-fcgi.exe


On Fri, Jan 25, 2013 at 12:02 PM, Fasih <faskiri.devel at gmail.com> wrote:

> Check your fastcgi code. Ensure that it is running properly. Have you
> checked the logs of that process?
>
>
> On Thu, Jan 24, 2013 at 10:23 AM, coolbhushans at gmail.com <
> nginx-forum at nginx.us> wrote:
>
>> Hi everyone
>> I am new to nginx  so really need u r help
>>
>>
>> My problem is that i set up niginx server on windows  and it runs very
>> well
>> . But i want to run c++ programs i.e(.exe)
>> so i come accross fast-cgi lib then i compiled source successfully now i
>> have fast cgi wraper for .exe ie. cgi-fcgi.exe
>>
>> now i changed in nginx.conf as
>>
>> location ~ /fcgi/$ {
>>     include fastcgi_params;
>>     fastcgi_pass 127.0.0.1:3000;
>> }
>>
>> and running it as http://localhost/fcgi/ in browser
>>
>> it not working so i checked error log and i found
>> upstream prematurely closed connection
>>
>> so any guess
>> thanks in advance
>>
>> Posted at Nginx Forum:
>> http://forum.nginx.org/read.php?2,235556,235556#msg-235556
>>
>> _______________________________________________
>> nginx mailing list
>> nginx at nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
>>
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20130125/ddd3952a/attachment.html>


More information about the nginx mailing list