Apache/1.3.6 Server at localhost.localdomain Port 80
SERVER_SOFTWARE=Apache/1.3.6 (Unix) mod_fastcgi/2.2.2
UNIQUE_ID=N1VIbX8AAAEAAAQnKKo
More on its way ... wait a few seconds
Initial environment:
最后,给大家一个fastcgi编程的例子:
#!/usr/local/bin/perl
use CGI::Fast;
my $counter = 0;
while (my $cgi = new CGI::Fast) {
print( "Content-type: text/html\n\n ");
print( "We have served $counter requests ");
$counter++;
}
就这些了,
hoowa