James and Scott,
I'm no expert, but since I've recently been playing
with mason under mod_perl2 I thought I'd try to find a
solution. I created a simple internal_redirect
component named "test-int-redirect.html" that is
defined as follows:
<%once>
use Apache2::SubRequest;
use Apache2::Const qw( OK );
</%once>
<%init>
Apache2::RequestUtil
->request
->internal_redirect('/int-redir-target.html');
$m->auto_send_headers(0);
$m->clear_buffer;
$m->abort(Apache2::Const::OK);
</%init>
... as well as a simple, static page in my document
root for the target of the redirect named
int-redir-target.html.
This seems to work for me.
HTH
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------
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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users