Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000189 [Resin] minor always 05-18-05 00:00 11-30-05 14:44
Reporter user160 View Status public  
Assigned To
Priority normal Resolution fixed  
Status closed   Product Version 3.0.13
Summary 0000189: problem with <rewrite-dispatch>
Description RSN-189
I want to use <rewrite-dispatch> for forwarding requests.
( http://www.caucho.com/resin-3.0/features/resin-3.0.13.xtp#forward-target-in-rewrite [^] )

But when I added the folowing to web.xml, got error.
================================================
 <rewrite-dispatch>
    <forward regexp='^/foo' target='/bar'/>
 </rewrite-dispatch>
================================================
The error is :

+++++++++++++++++++++++++++++++++++++++++++++++++
com.caucho.config.LineConfigException: WEB-INF/web.xml:12: <rewrite-dispatch> is an unexpected tag (parent <web-app> starts at 2)
+++++++++++++++++++++++++++++++++++++++++++++++++



Additional Information OS : Linux Redhat 9
jdk1.5
Attached Files

- Relationships

- Notes
(0000221)
sam
05-18-05 00:00

server/13s0

As a workaround, replace:

  <rewrite-dispatch>
    <forward regexp='^/foo' target='/bar'/>
  </rewrite-dispatch>

with:

  <resin:import path="rewrite.xml"/>

and in rewrite.xml:

<web-app>
  <rewrite-dispatch>
    <forward regexp='^/foo' target='/bar'/>
  </rewrite-dispatch>
</web-app>
 
(0000222)
ferg
05-18-05 00:00

server/13sa
 

- Issue History
Date Modified Username Field Change
05-18-05 00:00 user160 New Issue
11-30-05 00:00 administrator Fixed in Version  => 3.0.14
11-30-05 14:44 ferg Status resolved => closed


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
35 total queries executed.
29 unique queries executed.
Powered by Mantis Bugtracker