I found the answer. Pretty simple actually. I needed to remove the type="redirect"
that was on the example XML at the tuckey website. And I found that when redirecting, you have to add your context app in the to
tag, but when not redirecting, you should not:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE urlrewrite
PUBLIC "-//tuckey.org//DTD UrlRewrite 4.0//EN"
"http://www.tuckey.org/res/dtds/urlrewrite4.0.dtd">
<urlrewrite>
<rule>
<from>^/some/(.*)$</from>
<to>/jspinwebinftest/?param=$1</to>
</rule>
</urlrewrite>