Hello again.

I had to set SelectChannelConnector.forwarded = true. Sorry for the noise. It 
is all explained at 

http://wiki.eclipse.org/Jetty/Tutorial/Apache

Regards,
 - Tore.

On Apr 15, 2011, at 11:11 , Tore Halset wrote:

> Hello.
> 
> I am using jetty 7.3.0.v20110203 behind Apache httpd with mod_ssl, mod_proxy, 
> mod_proxy_http and mod_proxy_balancer. Apache is configured to add header 
> X-Forwarded-Proto https for incoming https connections.
> 
> I have verified that this header is readable from jetty, but 
> ServletRequest#isSecure() return false and ServletRequest#getScheme() return 
> "http". The result is that the client is redirected from https to http.
> 
> In the changelog for "jetty-7.2.0.RC0 1 October 2010" there is one line 
> mentioning this header. 
> 326612 Handle X-Forwarded-Proto header
> 
> Anything more I need to do to make this work?
> 
> Regards,
> - Tore.
> _______________________________________________
> jetty-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/jetty-users
> 

_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to