Thanks for the pointer Jan. What I didn't mention is that I don't need to
deploy any web apps. I am only deploying static content. I have the need to
test that my code works with both permanent and temporary redirects. To
support that I'm attempting to configure Jetty so that a request to
/permanently-moved-feeds is redirected (HTTP status code 301) to the root
context. I played around with various configurations mentioned by the
documentation you linked to but I still can't get the redirect to work. I
think I must be failing to understand some simple concept here. In order to
make the redirect work, do I have to configure both / and
/permanently-moved-feeds as root contexts for different web apps?


On Mon, Feb 24, 2014 at 8:43 PM, <[email protected]> wrote:

>
> Message: 2
> Date: Tue, 25 Feb 2014 11:25:15 +1100
> From: Jan Bartel <[email protected]>
> To: JETTY user mailing list <[email protected]>
> Subject: Re: [jetty-users] Using MovedContextHandler with the
>         maven-jetty-plugin
> Message-ID:
>         <CALg=
> [email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Nick,
>
> Perhaps having a read of the doco as regards deploying other contexts
> alongside the webapp that is the subject of the jetty-maven-plugin
> will help. See
> http://www.eclipse.org/jetty/documentation/9.0.6.v20130930/jetty-maven-plugin.html
> ,
> section "Running More than One Webapp".
>
>
> Jan
>
>


-- 
Nick Watts
blog: thewonggei.wordpress.com
twitter: @thewonggei
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to