Try:

<%init>
$m->redirect('url', 301);
</%init>

On Sep 30, 2009, at 10:23 AM, Gregory Skelton wrote:

>
> Hi All,
>
> I'm a SysAdmin trying to do something quickly, and I can't seem to  
> find
> the right place for this. I found this page on how to do it, but I'm  
> not
> sure where I should put this little gem of some code.
>
> http://www.masonhq.com/docs/manual/Request.html#item_redirect_url_status_
>
> I've tried putting it @ at the top of the page that needs to be
> redirected, but it only shows up as text.
>
> Thanks in advance,
> Greg
>
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart  
> your
> developing skills, take BlackBerry mobile applications to market and  
> stay
> ahead of the curve. Join us from November 9&#45;12, 2009. Register  
> now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Mason-users mailing list
> Mason-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mason-users


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to