Re: perl and FastCGI

Michiel Beijen <michiel.beijen-2eD/[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
I wrote:
> When I try to access my FastCGI script the Apache log says:
> [Wed Nov 18 16:31:41 2009] [notice] Parent: child process exited with
> status 255 -- Restarting.
> 
> But when I run the script from the command line I get this:
> 
> C:\inetpub\wwwroot\myapp>perl installer.fpl
> Content-Type: text/html; charset=utf-8;
> .....

Just to be complete: i found out what the issue was; the shebang-line,
which is not needed by Perl when you invoke a script from the command
line with 'perl.exe myscript.pl', but IS used by fastcgi, was wrong...

Hope this might help someone trying to enjoy the speed of FastCGI +
Apache....
--
Mike.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.