Mantis - Resin
Viewing Issue Advanced Details
4618 minor always 06-15-11 14:03 06-17-11 13:46
ferg  
ferg  
normal  
closed 4.0.19  
fixed  
none    
none 4.0.20  
0004618: MovedPermanently in cluster
(rep by Aaron Freeman)

>> 2) I don't think MovedPermanently works at the cluster level -- thinking
>> >> it may only work at the host level, making this use case not possible.
>> >> Can someone verify that? Any reason why it couldn't work at the cluster
>> >> level in future releases?
> > You can always use<host-default> to apply a rule across all virtual hosts.
Interesting, I will give that a shot.

> > URL dispatching is owned by the virtual host. The cluster level doesn't
> > understand URLs, so it doesn't make sense to dispatch a URL in the
> > cluster level.
Does that mean the example,

http://www.caucho.com/resin-4.0/admin/http-rewrite.xtp#Forwardbasedonhostname, [^] is fundamentally different then? Maybe it's doing something other than "dispatching" for Forward to work by MovedPermanently to not work? I can see why both wouldn't work at the cluster level and was surprised to see that example, actually, but just assumed that if Forward could work then MovedPermanently



Notes
(0005325)
ferg   
06-17-11 13:46   
server/1km1