how does wicket know about RPhost when it issues the 302?

-igor

On Mon, Sep 28, 2009 at 2:10 AM, Stéphane Jeanjean
<stephane.jeanj...@softeam.com> wrote:
> Hello,
>
> I'm using Wicket in a backend which is behind a reverse-proxy.
> I understand that Wicket does some redirections even if it's not's explicity
> requested by my code. (perhaps, here, it depends of some strategies, but I
> don't know them)
>
> When a redirection is sent by the back-end the hostname used is the reverse
> proxy host instead of the back-end host. I would like to use the back-end
> host in this response to be able to translate the back-end host to front-end
> host in the reverse-proxy.
> What I can see in the reponse :
> BackEnd -> 302:http://RPhost/myApp/mypage --> ReverseProxy ->
> 302:http://RPhost/myApp/mypage -> Browser
> What I would like :
> BackEnd -> 302:http://BEhost/myApp/mypage --> ReverseProxy ->
> 302:https://RPhost/myApp/mypage -> Browser
>
> I'm using Jetty for my server and mod_proxy in ligthtpd for the reverse
> proxy.
>
> Any idea ?
>
> Thanks,
>
> Stéphane
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to