On 9/7/07, William A. Rowe, Jr. <[EMAIL PROTECTED]> wrote:
>
> Jorge Schrauwen wrote:
> > Ok basic example as stated here:
> > http://fastcgi.coremail.cn/configuration.htm#regular%20fastcgi
> >
> > makes the server spit out these again:
> > [Fri Sep 07 17:49:51 2007] [error] [client 192.168.1.4
> > <http://192.168.1.4>] Premature end of script headers: printenv.pl
>
> Unfortunately the drwatson log didn't tell me a whole lot.  If you crank
> the loglevel to 'debug' can we get any further hints about the failure?
>
> Does fcgid do any logging itself?
>

Doesn't seem to do any logging itself but setting LogLevel to debug did turn
up this:

[Fri Sep 07 21:18:38 2007] [info] mod_fcgid: server
S:/perl/bin/perl.exe(2312) started
Unrecognized character \x01 at - line 1.
[Fri Sep 07 21:18:44 2007] [info] mod_fcgid: process
S:/perl/bin/perl.exe(2312) exit(communication error), return code 9

funny thing is it works fine when not using mod_fcgid.
I wish I could see what perl is getting from its stdin.

-- 
~Jorge

Reply via email to