[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [jetty-users] ProxyServlet.Transparent redirect problem
|
- From: David Hovemeyer <david.hovemeyer@xxxxxxxxx>
- Date: Wed, 13 Jul 2011 14:50:55 -0400
- Delivered-to: jetty-users@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=Ayi79Hpx8421G9xT1hzXM6qPfBr1cFFVm/GIaFX1JR0=; b=vFKCwkaf62AyhjYLqEFaL4wi556LLwhG+6SfhI6H6ThNVRpaDgv2UWFVxKfyqFN27G caIA0eLjIcHqhtIPd+vzpOk5y/B2aI8GJU4QUti0fgOrQ7MBqDtaZG/uCEwOmgrEh9IP aUzyQwJ9qV7XXEOp3l41YjZCB1qK/MSU+cYR0=
I forgot to mention: I'm using jetty hightide 7.4.4.
-Dave
On Wed, Jul 13, 2011 at 2:14 PM, David Hovemeyer
<david.hovemeyer@xxxxxxxxx> wrote:
> Hi all,
>
> I am using ProxyServlet.Transparent to proxy some paths from a
> "front-end" instance of jetty to another "back-end" instance.
>
> This works beautifully, except in one specific case: if the front-end
> instance is serving https and the back-end is serving http, redirects
> generated by the back-end do not have the protocol rewritten
> by the proxy servlet before they are sent back to the client
> web browser. The client gets redirected to an http URL,
> which of course doesn't work, since the front-end is serving only
> https.
>
> Is there some way I can get ProxyServlet.Transparent to modify
> the redirect to convert "http" to "https"?
>
> Thanks,
> Dave
>