[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] ProxyServlet.Transparent redirect problem

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
>