Welcome! Log In Create A New Profile

Advanced

Get C scripts working with FAST_CGI

Posted by chim 
Get C scripts working with FAST_CGI
July 24, 2011 02:09PM
We have multiple legacy C scripts that we'd like to run under nginx on VPS servers in a HA cluster on Centos 5.6. We're having limited luck in finding out how to do this for nginx + fastcgi +C. There's plenty about perl and PHP, but not much for C scripts.

We currently run them under Apache on large memory VPS's, but we'd lilke to cut down costs and go with a leaner setup on Linode VPS's as we revamp the site. Can any of the gurus out there help if they know where there's any step-by-step guides?

I'm having issues getting the system to connect with the spawn-fcgi process running and it just opens up a Save File dialog box in the browser and downloads gibberish binary instead of the text output from the test script.
thx



Edited 1 time(s). Last edit at 07/24/2011 02:10PM by chim.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 229
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready