After some minor changes, my previously perfectly working Perl cgi-bin script appears
to no longer produce output. More precisely, httpd produces a blank page after running
the script. If I run the Perl script manually, the correct output is produced.
If I enable warnings by starting the script with the line
#! /usr/bin/perl -w
the httpd log (obtained by running httpd -h/www -f -vvvv) shows this message:
Can't ignore signal CHLD, forcing to default.
which seems to indicate that httpd is mucking with signals.
The script appears to be running normally (I can log from the
script to a temp file) but the output is lost---either it's not flushed
out by the script when it exits, or it is discarded by httpd.
Either way, it's a pretty sorry state of affairs. Should I switch to a different
http server?
Thanks!
Luigi