On 06/15/2011 01:25 PM, Aaron Freeman wrote:
> Trying this:
> Use case: I need to do a 301 redirect for all links to http://blog.X/*
> to http://www.X/blog/
> I found this documentation which is very similar, but does a forward:
> Two questions:
> 1) Does MovedPermanently do a 301? If not, this is all moot.
It uses HttpServletResponse.SC_MOVED_PERMANENTLY which is a 301.
> 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.
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
> resin-interest mailing list
resin-interest mailing list