Hello,
In my handler.pl I try to catch mason errors with an eval{} block
around "$status = $ah->handle_request($r)". In case some error happens I
redirect the request to an error page:
$r->method('GET');
$r->internal_redirect('/error-5xx.html');
$status = 200;
This used to work fine until I upgraded mason to 1.35 and other perl
libraries to their latest versions. Now the browser displays the
following message:
"The requested method GET is not allowed for the URL /error-5xx.html"
How should I write that internal redirect now?
Thanks in advance,
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users