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
Original issue reported on code.google.com by
doug.whi...@gmail.com
on 16 Oct 2012 at 2:17Attachments: