peony2012 / urlrewritefilter

Automatically exported from code.google.com/p/urlrewritefilter
Other
0 stars 0 forks source link

Support for SeeOther redirect (303) #124

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
urlrewritefilter is nice for Linked Data, but best practice dictates use of a 
303 redirect.

I downloaded the readonly source tree this morning and tweaked existing code to 
implement it. Now rules can be written such as:
   <rule> <note> Linked Data best practice dictates that "id"s 303 redirected to "doc"s </note>
        <from>^/id/(.*)$</from>
        <to type="seeother-redirect" last="true">%{context-path}/doc/$1</to>
    </rule>

The attachment has only the required changes in:
  NormalRewrittenUrl.java
  RuleExecutionOutputput.java
  NormalRule.java
  .../4.0/index.html
  urlrewrite4.0.dtd

Thanks for the excellent Open Source project,
Doug Whitehead

Original issue reported on code.google.com by doug.whi...@gmail.com on 16 Oct 2012 at 2:17

Attachments:

GoogleCodeExporter commented 9 years ago
This patch was submitted nearly 2 years ago!  What will it take to get it 
commited and the issue closed?

Original comment by ralphle...@gmail.com on 1 Jul 2013 at 8:36