Mantis - Resin
Viewing Issue Advanced Details
67 minor always 03-30-05 00:00 05-11-05 00:00
sam  
 
normal  
closed  
fixed  
none    
none 3.0.13  
0000067: resin:include does not work in 3.0.s050328
RSN-58
(rep by A Freeman)

In our resin.conf file we have the following:

        <filter filter-name='rewrite' filter-class='com.caucho.filters.RewriteFilter'>
          <init>
            <resin:include href='/opt/server/conf/marketing.conf'/>
          </init>
        </filter>

marketing.conf contains:

<rewrite pattern="/yoursite$" target="/foo/custom.jsp\?foocode=J"/>
<rewrite pattern="/yoursite2$" target="/foo/custom.jsp\?foocode=n"/>

This worked in 3.0.12, the snapshot gives this exception:

500 Servlet Exception
/opt/conf/marketing.conf:2: expected a single top-level element at `rewrite'

Notes
(0000073)
ferg   
03-30-05 00:00   
regression failure