Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003510 [Resin] minor always 05-13-09 06:55 06-16-09 18:47
Reporter ferg View Status public  
Assigned To ferg
Priority urgent Resolution fixed  
Status closed   Product Version
Summary 0003510: rewrite with multiple load-balance rules
Description (rep by Daniel Wigenfors)


What i'm trying to to is this, one resin-instance running as a webserver only, loadbalancing to two or more resins behind it.

On the webserver, I'm trying to rewrite requests from users, and then send on the request to the resin app-servers.

I've configured a host-config on the webserver with the following, I'm trying with both rewrite and forward:

  <web-app-default>

...some rewrites...

<rewrite-dispatch>
  <rewrite regexp="^/old.jsp" replacement="index.jsp"/>
</rewrite-dispatch>

<rewrite-dispatch>
  <forward regexp="^/old2.jsp" target="index.jsp"/>
</rewrite-dispatch>


...some more rewrites...and then the load-balancing


    <rewrite-dispatch>
       <load-balance regexp="" cluster="a"/>
     </rewrite-dispatch>



  </web-app-default>
Additional Information
Attached Files

- Relationships

- Notes
(0004076)
ferg
06-16-09 18:47

server/1kq-

Unfortunately, this can only be fixed in 4.0.1. The rewrite-dispatch for 3.1 had been refactored in a way that disabled the actual <rewrite> tag as used in this bug report, and changes to enable it in 3.1.x are bigger than we'd want to change for 4.0.x.
 

- Issue History
Date Modified Username Field Change
05-13-09 06:55 ferg New Issue
06-16-09 18:47 ferg Note Added: 0004076
06-16-09 18:47 ferg Assigned To  => ferg
06-16-09 18:47 ferg Status new => closed
06-16-09 18:47 ferg Resolution open => fixed
06-16-09 18:47 ferg Fixed in Version  => 4.0.1


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