httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kipp, James" <>
Subject RE: Strange Apache/CGI output
Date Tue, 23 Apr 2002 18:18:09 GMT
thanks george.
the problem seems to be happening with all cgi scripts. from simple ones to
more complex. in this instance, i believe cgi is creating the table. the
view source shows the source up until it quits.
even a simple env variable display script (like below) only shows a few of
the variables, where from command line, works fine
#!/appl/perl5/bin/perl -w
print "Content-type:text/html\n\n";
print <<End;
<html><head><title>Print Environment</title></head>
foreach $key (sort(keys %ENV)) {
         #printf "%16.16s = %s\n", $key, $ENV{$key};
  print "$key = $ENV{$key}<br>\n";
print "</body></html>";


-----Original Message-----
From: George Gallen []
Sent: Tuesday, April 23, 2002 12:50 PM
To: ''
Subject: RE: Strange Apache/CGI output

Does the cgi create the table? or does another process create it 
while the cgi waits for the data? If it is waiting, what I had to 
do in a similar situation is have the other process, put something 
at the end of the file, like "*-*-*-*-*" and have the cgi wait 
until it got the full data by having a "*-*-*-*-*" as the last line 
and not send that last line back to the browser. 

but if it was working fine, and now it's not.... don't know. 
Did you do a view source? Is all the source there? 


>-----Original Message----- 
>From: Kipp, James [ <>
>Sent: Tuesday, April 23, 2002 11:42 AM 
>Subject: Strange Apache/CGI output 
>running Apache 1.3.6 on a SunOS 5.8 Server. Apache and cgi script were 
>working fine until a few days 
>ago. The scripts run, however when the browser calls it, it 
>only displays 
>some of the data. For instance, 
>if the cgi is supposed to print 100 rows in a table, it prints 
>like 40 and 
>The scripts are in Perl. Perl version 5.6.1 
>Any ideas ? 
>note: already tried the $|=1 unbuffering. That did not work. 
>The official User-To-User support forum of the Apache HTTP 
>Server Project. 
>See <URL:
<> > for more info. 
>To unsubscribe, e-mail: 
>For additional commands, e-mail: 

View raw message