Subject: | Perl FCGI not working with mod_fcgid + apache 2.2.15 on windows xp |
To reproduce:
Install apache 2.2.15 with mod_fcgid on Windows XP SP3
Install ActiveState apache + FCGI module
Configure apache to run the perl example script in the mod_fcgid it
is not working
You'll get
[Thu Jul 29 11:26:07 2010] [warn] [client 127.0.0.1] (OS 109)The pipe
has been ended. : mod_fcgid: get overlap result error
[Thu Jul 29 11:26:07 2010] [error] [client 127.0.0.1] Premature end of
script headers: foo.pl
in the logs
I double check everything including:
The #!/usr/bin/perl.exe line at the foo.pl perl script file it points
to where perl is installed on my computer
The mod_fcgid is loaded
when running the script as plain cgi it works
When I turned to the older mod_fastcgi it works just fine