Mantis - Resin
Viewing Issue Advanced Details
2681 minor always 05-19-08 08:37 06-16-08 11:33
closed 3.1.6  
none 3.2.0  
0002681: rewrite-dispatch with forward
(rep by Bill Au)

I got move-permanently and redirect to work across webapps but am not able to get forward to do so. Is that possible at all with Resin? I am asking since I am not sure all the clients access my webapps can handle 301/302 to redo request to the new URL. For example, curl by default does not do so. You need to run curl with the -L/--location option in order for this to work.


On Wed, Aug 23, 2006 at 4:44 PM, Rob Lockstone wrote:
Ahh, great! I tried just plain <forward and that didn't work. Thanks
again, Scott!


On Aug 23, 2006, at 13:38 , Scott Ferguson wrote:

> On Aug 23, 2006, at 1:25 PM, Rob Lockstone wrote:
>> We're running Resin 3.0.21 Pro standalone and need to be able to
>> redirect an incoming page request to a completely different server,
>> e.g.:
>> [^] ---> http://
>> I've been able to use the rewrite-dispatch tag for the other
>> redirects, but this new one has me a bit perplexed. Any ideas?
> Sure, you can use:
> <rewrite-dispatch>
> <redirect regexp="^/blah" target=""/> [^]
> </rewrite-dispatch>

06-16-08 11:32