Hi Tyler,

I gave your script a test run on an apache 1.3 and
had the same effect (blank page). I then modified
the script as follows and everything was fine.

#!/usr/bin/perl -w

my $time = 65;

for(my $i = 0; $i < $time; $i++)
{
        warn("iteration..." . $i);
       sleep(1);

}

print "Content-type: text/html\n\n";
print "<html><head><title>Test</title></head><body>";
print("version 2.x suceeded!!!");
print "</body></html>";

1;

I think apache2/mp2 automatically sends a header
and apache 1.3 doesn't. It's only a guess cause
I don't have any experiences with apache2.

Tobias








Reply via email to