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: 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 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