Jump to content

FastCGI Application Install


Guest

Recommended Posts

I am trying to install a fastcgi c++ application I have it compiled but dont know what todo with it next. I have tried running it like a regular cgi program in the cgi bin but that doesnt seem to work and I dont think thats right. The server is running apache and using cpanel where do I even begin?

Link to comment
Share on other sites

I might have gotten further but im not sure but I managed to get a 500 error response by adding AddHandler fcgid-script .fcgi to apache

 

then in my error log it shows

mod_fcgid: process echo.fcgi(18128) exit(communication error), get unexpected signal 11

how in the world does that help me lol how do I know what the error is?

Link to comment
Share on other sites

I dont think this is the right way to go about fcgi applications I can get a simple program running that uses fcgio.h but an application that uses fcgiapp.h gives the 500 error

Link to comment
Share on other sites

I think I found the right way todo it I think I have to add something like this to apache

FastCgiExternalServer /home/intf/apache2/fcgi-bin/test_adc -idle-timeout 300 -host 10.32.153.54:100011

 

The question is how would I do that on a shared host?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.