Mod Perl - Custom Error Pages

2011-10-25 Thread David Hofmann
For a while now my system has error trapped issues the it encounters and printed an error page with a 200 status code. Recently when my web developer started using AJAX, this became a problem, be cause he couldn't check for error codes on the pages. So I updated my error routine to pass proper err

RE: Mod Perl - Custom Error Pages

2011-10-25 Thread Andreas Mock
Hi David, there is http://www.gossamer-threads.com/lists/modperl/modperl/100379?search_string=error%20page%20mock;#100379 thanks to Torsten. And here is a snippet, I use ... elsif($response->status == Apache2::Const::HTTP_NOT_FOUND) { $r->status($response->status); # Cookies

Re: Mod Perl - Custom Error Pages

2011-10-25 Thread Randolf Richardson
> For a while now my system has error trapped issues the it encounters > and printed an error page with a 200 status code. > > Recently when my web developer started using AJAX, this became a > problem, be cause he couldn't check for error codes on the pages. So I > updated my error routine to pass

Re: Mod Perl - Custom Error Pages

2011-10-25 Thread Randolf Richardson
> Hi Randolf, > > Thanks for the information, the source code gives me some idea of > where I'm going to go look next. > > However directive I won't work for what I'm trying to do as I'm trying > to handle the error code inside my the script rather and over ride the > Apache directives. That way if

Re: Apache Children Stuck on futex

2011-10-25 Thread Max Barry
Hello, I'm trying to solve a long-running problem whereby my Apache mod_perl processes get stuck in a "FUTEX_WAIT" state instead of exiting. I believe this is the same issue as reported here: http://www.gossamer-threads.com/lists/modperl/modperl/99879 The problem occurs fairly frequently follow