As some of you may already know, out of the cpan-box Alzabo::GUI::Mason is
a bit broken ( I have only noticed redirect page ). below is a quick
replacement file, which serves me well.
Alzabo::GUI::Mason
<docroot>/schema/redirect libapreq2-2.06-dev fix
-------------------------- BEGIN <docroot>/schema/redirect ---------------------
<%args>
$url
</%args>
<%init>
use Apache2::Const -compile => qw(:common);
use Apache2::RequestRec ();
use APR::Table;
use URI;
my $uri = URI->new($url);
$r->method('GET');
my $in_tbl=$r->headers_in;
$in_tbl->unset('Content-length');
my $out_tbl=$r->headers_out;
$out_tbl->unset('Location');
$out_tbl->add(Pragma => 'no-cache');
$out_tbl->add(Location => $uri->canonical);
$m->clear_buffer;
$m->abort(Apache2::Const::REDIRECT);
</%init>
-------------------------- END <docroot>/schema/redirect ---------------------
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users