http://crschmidt.net/openguides/modperl.patch
exit 0; apparently gives some kind of errors in mod_perl land. I'm not sure if there's a reason for this to be there, but I couldn't find one, and removing it fixed my OpenGuide from spitting errors at me.
On Tue, Mar 07, 2006 at 05:12:51PM -0500, Christopher Schmidt wrote:
http://crschmidt.net/openguides/modperl.patch
exit 0; apparently gives some kind of errors in mod_perl land. I'm not sure if there's a reason for this to be there, but I couldn't find one, and removing it fixed my OpenGuide from spitting errors at me.
Nope, those exit 0s all appear at the end of the flow of logic so they shouldn't be there. I've applied the patch, thanks.
Dominic.
Christopher Schmidt wrote:
http://crschmidt.net/openguides/modperl.patch
exit 0; apparently gives some kind of errors in mod_perl land. I'm not sure if there's a reason for this to be there, but I couldn't find one, and removing it fixed my OpenGuide from spitting errors at me.
For your info, exit 0 breaks the mod_perl protocol, as it is an instruction for Perl to terminate execution of the script. With mod_perl, the application runs as a pool of servers or daemons inside Apache. Once the application has dealt with an http request, it should not exit, but loop around and wait for another request.
If the application does actually need to shut down, this is handled by Apache, not the script.
openguides-dev@lists.openguides.org