Kris,

This being a simple test, it only redirects incoming
requests for the URI '/test-int-redirect.html' to
'/int-redir-target.html', i.e., a request for some
other URI is not redirected.

Scott Karns


--- Kris Yates <[EMAIL PROTECTED]> wrote:

> Hi
> 
> Does this direct any incoming requst to
> '/int-redir-target.html' ?  Or does
> it only redirect some requests that come in to that
> component?
> 
> Tks
> 
> Kris
> 
> ----- Original Message ----- 
> > ... 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.
> >



        
                
__________________________________ 
Yahoo! for Good - Make a difference this year. 
http://brand.yahoo.com/cybergivingweek2005/


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

Reply via email to