in reply to How do I pipe Apache to my script then to cronolog?
open(STDOUT,"| cronolog") or die "Can't run cronolog: $!\n";
and make shure a) apache finds the script (i.e. it's in it's $PATH), b) it is executable by the efective UID of apache.
That way I'd avoid requesting from apache to be able to parse and behave like a shell.
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
|
|---|