Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: stderr to script-logfile with CGI::Fast

by poulhs (Beadle)
on Apr 06, 2011 at 18:56 UTC ( #897857=note: print w/replies, xml ) Need Help??


in reply to stderr to script-logfile with CGI::Fast

The cause of the "problem"

From http://cpansearch.perl.org/src/BOBTFISH/FCGI-0.70/os_unix.c:

/* * Close STDIN unconditionally. It's used by the parent * process for CGI communication. The FastCGI applciation * will be replacing this with the FastCGI listenFd IF * STDIN_FILENO is the same as FCGI_LISTENSOCK_FILENO * (which it is on Unix). Regardless, STDIN, STDOUT, and * STDERR will be closed as the FastCGI process uses a * multiplexed socket in their place. */

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://897857]
help
Chatterbox?
and the voices are still...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2017-11-19 12:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (280 votes). Check out past polls.

    Notices?