Mailinglist Archive: opensuse (3644 mails)

< Previous Next >
Perl FCGI on Linux?
  • From: Alex Daniloff <alex@xxxxxxxxxxxx>
  • Date: Tue, 05 Mar 2002 11:57:00 -0800
  • Message-id: <200203051957.g25Jv0V10670@xxxxxxxxxxxxxxxxx>
Hello SuSE folkz,
My question is related to Apache and Roxen 2.2 FCGI scripting support.

Here is a simple test script to generate html header and the counter
with perl in FCGI mode:


use CGI::Fast qw(:standard);

my $count=0;
my $q;

while($q = new CGI::Fast) {

print $q->header,
$q->start_html(-title=>'FCGI Test'),
td({-align=>'center'},"FCGI is cool: ".$count++))),

Somehow it produces a double output in the browser window:

FCGI is cool: 1
FCGI is cool: 1

I've tried this FCGI script with Apache and Roxen 2.2 web servers and
I always was getting the same double output.

Could somebody please give me a hint why is that? I couldn't find any
reference on this issue in FCGI manuals or on web site.

Thank you in advance for any thoughts or sources of information.

< Previous Next >
This Thread
  • No further messages