httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: [users@httpd] 500 error & error_log entry
Date Fri, 09 Jul 2004 19:35:39 GMT
On Fri, 9 Jul 2004, Grant wrote:

> #line 584 below
>     $SIG{PIPE} = sub { die_page("signal"); };
>     $SIG{ALRM} = sub { server_not_running(); exit 1;
> };

Erk!

First principles of programming: never, ever use exit in library code.
That includes code run under mod_perl.  Conclusion: don't even think
of running the above under mod_perl.

If it's complaining that die_page is undefined, it indicates one or
more of very shoddy code or incorrectly installed code.

-- 
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message