Here's a problem that probably takes a simple answer. Something I've
overlooked. I want to pass logging information to a perl script.
I have:
TransferLog "| /usr/local/etc/httpd/cgi-bin/script.cgi"
and:
#! /usr/local/bin/perl
open (FILE, ">>/usr/local/bin/logs/file");
print FILE;
close (FILE);Quote:}
exit 0;
What I get is "Document Contains No Data" from the Browser and
"Lost connection with machine.com" in the error_log.
Any suggestions?
It all works fine if I just change TransferLog to:
TransferLog /usr/local/etc/httpd/logs/file
instead of having the pipe but I want to operate on the log info
on the fly with Perl.
Thanks.
David Geller