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 Fetterman                        Direct: 206-319-9434
Mariner Supply, Inc.                   206-780-5670
http://www.go2marine.com [email protected] <mailto:[email protected]>

http://www.boatersline.com




_______________________________________________
resin-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/resin-interest



_______________________________________________
resin-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/resin-interest

--
-----------------------------------------------------------------
Keith Fetterman                        Direct: 206-319-9434
Mariner Supply, Inc.                   206-780-5670
http://www.go2marine.com               [email protected]

http://www.boatersline.com


_______________________________________________
resin-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to