Testing the FastCGI perl binary

James Cooper (pixel@tiger.coe.missouri.edu)
Mon, 13 May 1996 16:32:24 -0500 (CDT)

Date: Mon, 13 May 1996 16:32:24 -0500 (CDT)
From: James Cooper <pixel@tiger.coe.missouri.edu>
To: fcgi-developers@OpenMarket.com
Subject: Testing the FastCGI perl binary
Message-Id: <Pine.SGI.3.93.960513162423.10315G-100000@rhino.coe.missouri.edu>


Hello again,

thanks to Mark for the clear explanation.  That helped me narrow down the
source of my problem.  I've successfully gotten FastCGI working with
Apache 1.0.5.  However, my success has been limited to the C fcgi
applications (such as tiny-fcgi).

Perl applications are still returning "Document contains no data"  Here's
my current setup:

Platform/OS: SGI Indy (R4400), IRIX 5.3 
Web server: Apache 1.0.5
mod_fastcgi version: 1.1

relavant srm.conf:
AddType application/x-httpd-fcgi .fcg .fcgi

AppClass /usr/local/perl5-fcgi/fcgi-devel-kit/examples/tiny-fcgi.fcg
            -listen-queue-depth 10 -processes 1
AppClass /usr/local/perl5-fcgi/fcgi-devel-kit/examples/tiny-perl-fcgi.fcg
            -listen-queue-depth 10 -processes 1

.................

tiny-fcgi.fcg works great.  The counter increments as it should.

tiny-perl-fcgi.fcg doesn't.  The process is running, but It doesn't return
data.

...

My guess is that the perl binary or the FCGI module is not initializing
properly, so the script isn't getting the (FCGI::accept >= 0) flag that it
needs.

How can I test the perl module to make sure it's working?

Thanks

-- James

.........................................................................
                        James Paul Cooper * Pixel
                         MU College of Education
       pixel@coe.missouri.edu - http://tiger.coe.missouri.edu/~pixel/
.........................................................................