On Thu, Nov 12, 2009 at 9:50 AM, Brian Kodl <bk...@yahoo.com> wrote: > Hello, > > Please help, what am I doing wrong? I can't get the example to work from > http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html > > Thanks! > Brian > > Error.log contains: > [Wed Nov 11 15:57:27 2009] [warn] [client 192.168.21.21] (OS 109)The pipe > has been ended. : mod_fcgid: get overlap result error > [Wed Nov 11 15:57:27 2009] [error] [client 192.168.21.21] Premature end of > script headers: foo.pl > >
I'd guess this is related to the shebang line processing, and that foo.plisn't getting started. Is the path to perl correct in foo.pl (maybe it should be "#!/perl/bin/perl")? Do you need "ScriptInterpreterSource registry" to tie .pl files to the Perl interpreter, ignoring the shebang line?