DevHeads.net

How to use fcgistarter in apache

Hi All,

I tried to run my perl on port 8070 and proxy my request to port using
mod_proxy_fcgi.

I am using the following command
./fcgistarter -c /usr/bin/perl -p 8070

But none of the process gets started on port 8070.

Please help how to use fcgistarter, so that I can start python or perl on
some port and proxy request to it.

Thanks
Hemant

Comments

Re: How to use fcgistarter in apache

By Eric Covener at 08/09/2018 - 07:38

On Thu, Aug 9, 2018 at 8:07 AM Hemant Chaudhary
<hemantdude. ... at gmail dot com> wrote:
I think you have to pass it something that will actually use the FCGI
protocol. perl with no arguments won't do anything relate to fastcgi.

Re: How to use fcgistarter in apache

By Hemant Chaudhary at 08/09/2018 - 07:45

Okay then how should I start any program using fastcgi starter.

Anybody using it ?

Re: How to use fcgistarter in apache

By Eric Covener at 08/09/2018 - 07:54

On Thu, Aug 9, 2018 at 8:46 AM Hemant Chaudhary
<hemantdude. ... at gmail dot com> wrote:

Any fastcgi program? Exactly the way the manual says. We use it in
tests to start a small C-based fcgi program and it works fine.