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.