On Mar 29, 2011, at 8:11 PM, Keith Fetterman wrote:

> In resin 3, the way to perform a HTTP 301 redirect was using the 
> following resin tags:
> 
>> <rewrite-dispatch>
>> <moved-permanently regexp="^/redirectedPage.html" target="/test.html" />
>> </rewrite-dispatch>
> 
> I don't see an equivalent tag in Resin 4 documentation. How should this 
> be implemented?
> 
> I tried using the following tag, but I get an HTTP 302 redirect:
> 
>> <resin:Redirect regexp='^/redirectedPage.html' target='/test.html'/>


Hi Keith,

There is a resin:MovedPermanently with the same syntax.

It's mentioned on our Wiki;

http://wiki.caucho.com/Cookbook:_Moved_Permanently

I've entered a documentation bug for this.

Thanks,
Paul



> 
> Thanks,
> Keith
> 
> -- 
> -----------------------------------------------------------------
> Keith Fetterman                        Direct: 206-319-9434
> Mariner Supply, Inc.                   206-780-5670
> http://www.go2marine.com               kfetter...@go2marine.com
> 
> http://www.boatersline.com
> 
> 
> 
> 
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to