I was wondering if there are any issues running NPH scripts on Apache under Win32.
Here's a generic test script, which I've been messing with:
#!perl.exe
print "$ENV{'SERVER_PROTOCOL'} 200 OK\n";
print "Server: $ENV{'SERVER_SOFTWARE'}\n";
print "Content-type: text/plain\n\n";
$| = 0;
for ($loop = 10; $loop >= 0; $loop--)
{
print "$loop\n";
sleep (1);
}
print "Blast Off!\n";
exit (0);
It seems to work okay on my Mandrake box and Cobalt RaQ, but not so well on my windows machine... and no, perl.exe is not in my cgi-bin :)
See it
not work here:
http://66.149.100.92/cgi-bin/nph-test.cgi
--
paul