Re: [Resin-interest] How to implement rewrite-dispatchmoved-permanently in Resin 4

2011-03-29 Thread Paul Cowan

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


Re: [Resin-interest] How to implement rewrite-dispatchmoved-permanently in Resin 4

2011-03-29 Thread Keith Fetterman
Thanks Paul for the quick response.  This is excellent.  I am pushing 
hard to get our site upgraded to Resin 4 and then roll out to production.


On 03/29/2011 05:45 PM, Paul Cowan wrote:


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 FettermanDirect: 206-319-9434
Mariner Supply, Inc.   206-780-5670
http://www.go2marine.com kfetter...@go2marine.com 
mailto: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


--
-
Keith FettermanDirect: 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